Chrome Audio Autoplay issue - Chromecast Audio

Hi,
In chrome, audio is not playing automatically.
Following solutions I tried but no use.
1) In video tag, muted the player and run it off.
2) In iframe src tag, played the audio.
But none of the above options working in chrome.
If anyone knows about this solution, kindly let me know
Thank You.

shobana_chandrasekar said:
Hi,
In chrome, audio is not playing automatically.
Following solutions I tried but no use.
1) In video tag, muted the player and run it off.
2) In iframe src tag, played the audio.
But none of the above options working in chrome.
If anyone knows about this solution, kindly let me know
Thank You.
Click to expand...
Click to collapse
There is also another workaround for this according to @leonard
Create an iframe that doesn't play anything just to trigger the autoplay in the first load.
<iframe src="silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>
good source for the mp3 file silence.mp3
Then play your real audio file at ease.
<audio id="player" autoplay loop>
<source src="audio/source.mp3" type="audio/mp3">
</audio>
Personally I prefer solution #2 because it is cleaner approach for not relying so much in JavaScript.

Related

Windows Media Player filter

Hello, I have been using windows media player for the last couple of weeks because it works well with Voice Command. However all the sound files on my mobile are coming up in the library, even sound effects from games. Is there any way of filtering them out, or set up just one folder for windows media player. The same thing happens with the media panel. Thanks
Hornet-Wing said:
Hello, I have been using windows media player for the last couple of weeks because it works well with Voice Command. However all the sound files on my mobile are coming up in the library, even sound effects from games. Is there any way of filtering them out, or set up just one folder for windows media player. The same thing happens with the media panel. Thanks
Click to expand...
Click to collapse
its not related to your question but if its possible how do you use the voice command do i need to install a program or its a capability needed to be turned on?
£thereal said:
its not related to your question but if its possible how do you use the voice command do i need to install a program or its a capability needed to be turned on?
Click to expand...
Click to collapse
Yes, that's true. U need to install separatly. Try search option for "Voice speed dial"
I have searched XDA-Devs & Googled, but I still cannot find an answer.
MSVC 1.6 is what you are looking for with voice command.
I have the same issue with WMP. When you update library it pulls every single sound you have on your device. I'm interested in a filter also.
Yea, i would like this too, It seems the only solution is if there was a way for media player to watch just one folder. I'm sorry to say i have no programming or any clue to start with to help you (or myself) with this. Maybe theres a third-party music player that u can find. The only solution i found was to stick all your music on Memory-Card and make sure you dont install anything there.

Some basic questions

Hi - I am new to Android and am struggling with some fairly basic concepts:
1. Unloading images, and video: I have Win7 and using the built in Windows image importer - it tries to unload all other images - not just camera. So I get lots of bookmark thumbnails etc; etc; I have also tried doubleTwist but that seemed overly complicated?
2. Sharing recorded video with others: The Desire seems to record to a format that no one can play. Well the video does but the sound does not. I have read that there is no way round this and you can only play it on your phone!!?? Surely thats not right? I just want to email friends some videos - surely thats not tricky!?
3. Multiple calendar reminders: When I get a reminder I get the option to Snooze All or Dismiss All - but I cant seem to dismiss just one reminder. Any ideas?
Thanks in advance for any help
vilbs said:
Hi - I am new to Android and am struggling with some fairly basic concepts:
1. Unloading images, and video: I have Win7 and using the built in Windows image importer - it tries to unload all other images - not just camera. So I get lots of bookmark thumbnails etc; etc; I have also tried doubleTwist but that seemed overly complicated?
2. Sharing recorded video with others: The Desire seems to record to a format that no one can play. Well the video does but the sound does not. I have read that there is no way round this and you can only play it on your phone!!?? Surely thats not right? I just want to email friends some videos - surely thats not tricky!?
3. Multiple calendar reminders: When I get a reminder I get the option to Snooze All or Dismiss All - but I cant seem to dismiss just one reminder. Any ideas?
Thanks in advance for any help
Click to expand...
Click to collapse
1. The beauty of using a non-Apple smartphone is that you don't have to use a special application to manage your files. Just connect your device to your PC as a disk drive. Browse to it with your file explorer and just drag&drop.
2. Not sure what you mean here. Windows Media Player on Windows can play the videos recorded with the Desire. And Quicktime on OSX can as well.
3. Yeah, there's no way around this one. Bummer...
In terms of photos, why don't you just drag and drop...you don't really need to use an importing tool. That seems overly complicated for what you want.
On the video side of things, you have two formats to choose from. 3gp and Mp4. When you're shooting video there's a tab on the left. Pull it out and at the bottom is the settings. You can then choose "Encoding type" and switch. I believe you'll get the best compatibility with Mp4.
The reminders thing? I have no clue.
1. Issue with sync - OK I will drag and drop. The importer utility is normally quite handy as it only unloads images that havent already been unloaded etc; etc;
2.
Aitese said:
On the video side of things, you have two formats to choose from. 3gp and Mp4. When you're shooting video there's a tab on the left. Pull it out and at the bottom is the settings. You can then choose "Encoding type" and switch. I believe you'll get the best compatibility with Mp4.
Click to expand...
Click to collapse
I have the choice out of H.263 and MPEG4. Both options output a .3gp file (I presumed that MPEG4 should output a .MP4). Both .3gp give the following message in VLC player "No suitable decoder module: VLC does not support the audio or video format "samr". Unfortunately there is no way for you to fix this." Media player doesnt give me a message it just doesnt give audio. Google this tells me that there is no easy way to solve this. So how come it works for you?
3. "...Yeah, there's no way around this one. Bummer..." Bummer indeed
Oh well - thanks for your answers guys but I would really love to try and sort this video issue. Incidentally its the same with sound recordings - they use the same samr codec which basically cant be used
Ah, well it seems both RealPlayer and Quicktime can play back the videos encoded with the mp4 or H.263 format.
EDIT - And also Windows Media player. I have read that VLC can't play them due to licensing issues for the AMR sound format.
download and install the k-lite codec pack it will include the classic player which is more than capable of playing these videos. I did have an issue with my vids i was recording when i was making a recording that lasted longer than 10 minutes, it was almost as if the card was too full record properly however the recorder still carried on going, this can be recognised when you press stop on the video recording and it goes straight back to the desktop instead of the camera. when this occurs nothing will play the file as it is corrupt. it must have been a third party program i had installed as when i defaulted the device the problem stopped and it would record as normal.

Live Internet Video Streams. Really??

not possible on Android? .asf, .asx ? .mms protocol
coming from WinMo I was able to play these streams flawlessly. In internet explorer on the phone I would just click the link and it would open in my video player (being that Media Player ot TCPMP)
when I click a live video link on my EVO all I get is a pop-up to send a text message with that link.
I also tried few media players and I would open the url from within the player but I get and error that the file cannot be played.
anyone have any input regarding this?
I refuse to think it's impossible to do this on Android. it would be a major set back for me
please tell me I'm an idiot and there is an easy fix to my problem. appreciated
http://forum.xda-developers.com/showthread.php?t=695844
MOD EDIT - Thread cleaned and moved to Q&A
PLESTIUC said:
not possible on Android? .asf, .asx ? .mms protocol
coming from WinMo I was able to play these streams flawlessly. In internet explorer on the phone I would just click the link and it would open in my video player (being that Media Player ot TCPMP)
when I click a live video link on my EVO all I get is a pop-up to send a text message with that link.
I also tried few media players and I would open the url from within the player but I get and error that the file cannot be played.
anyone have any input regarding this?
I refuse to think it's impossible to do this on Android. it would be a major set back for me
please tell me I'm an idiot and there is an easy fix to my problem. appreciated
Click to expand...
Click to collapse
the problem is likely the codec used to encode the file. there is currently only one player (yxflash) that even purports to open up divx/xvid encoded files, and it sucks at it.
what you may try is the skyfire browser. it may be able to decode some of the things you want to watch server-side, then send you a viewable file on the fly.

Mirage Beta issues

Hi, I have been trying to get mirage beta to work streaming from an air video server. My sensation had no problems doing this, but the galaxy S2 simply will not play if I try to transcode the video files no matter which file I try. I tried to see if I could force some kind of settings by extracting the program out, but didn't see any configuration file that would be userful. Anyone know of a workaround?
have you tried encoding it with MKV?
AllGamer said:
have you tried encoding it with MKV?
Click to expand...
Click to collapse
I have, but it is the transcoding portion that lets me stream my entire library without using space on the device that I am interested in. Although I would be interested to hear what video players people are using to play mkv on their G2s, especially if they have found a decent one that will display subtitles.

Html5 video tag doesn't work in Android with local video files

Hi everyone.
I am not able to reproduce local video files, using video tag of Html5 in an Android application, even developing an Android cross walk application, the video Html5 tag only works fine with videos located in a http server, with local files includes in the application only works in full screen mode, otherwise only the audio is played, the video is showed as a black screen.
I think the issue could be related to the Web browser for Android, I tested the application in the latest version of the chrome Mobile browser and the behaviour is exactly the same.
Anyone know how to solve this issue?
By the way, the Android version where I am trying is 4.1
Thanks a lot in advance.
Regards
David
the issue is not with browser.its with the video. i too had the same issue when playing mp4 videos locally in webview. i tried different versions/ encoders when converting video and it worked without any code changes. just try converting the mp4 to different encoder or better try with a 3gp format. it will work
Thanks si much, I did some tests just related to you mean, but it doesn't work for me, may be if you could me the encoder, format, bitrate, etc. I will able to solve as you did.
Do you remember the combination you used.
Thanks a lot
Regards
David
I was able to execute correctly the app in other device, with mp4 and with webM video format, but in the initial device doesn't work fine, there, the video only works in full screen mode or if the video is located in Internet, if the video is located locally it only is reproduced if I tap the full screen icon of the Html5 video tag controls.
For this reason, I am not sure that the problem is related to the video, but with the Web browser, or may be with the device, the app works fine in other device with Android 4.2 and Android 4.4.
Any idea about how to try to solve for Android 4.1?
Thanks a lot in advance.
Regards
David
The problem is that the local files have "file://" protocol so they can't be played by just using the video tag, you need to use a video cordova plugin like:
https://github.com/moust/cordova-plugin-videoplayer
https://github.com/nchutchind/Streaming-Media-Cordova-Plugin
Hope I helped
Suggestion
I would suggest checking that the local file exists.
Perhaps a popup-box or console log that displays the url, and manually navigate to the URL.
This is almost always the issue for me -- other than file corruption it's self.

Categories

Resources