Need bgsound for mobile websites - javascript

I had used an audio file as background sound for my website, It is working fine in desktop, but not playing in the mobiles. Is there any way to playing an audio file for mobile also, please provide me a necessary solution for this.
Thanks in Advance.

Related

Video.js video play issue in android device angular11

I'm working with angular 11 project. I have integrated videojs library for video playing.
Video is playing fine with web-browser. But not playing in android device.
I have created one example link here for this issue Demo
Can anyone one suggest me a solution which can work for android?
Any help would be appreciated.
You've got a video element, with a HLS source. Android can play HLS natively but not well. As the source is already loaded when Video.js is initialised the source is not reloaded. If you make sure the source is only loaded after initialisation then it will be played with Video.js's http-streaming/MSE instead.
One option is to use a <video-js> element instead of <video>. Another is to remove the <source> and load it with player.src() instead.

JWPlayer playing Flash Full-Screen

I'm using JWPlayer 7.5.2 and playing an M3U8 stream via Flash since apparently HTML5 won't support M3U8/HLS streams in the browser. I can get our M3U8 stream to play, but I can't get the video centered in the div or to go full-screen. The following link is an example of the problem (the link is dynamically generated):
http://stage.flcbranson.org/php/mlmMediaRebroadcastStreamRequest.php?site=flcb&locationID=1&eventName=Sunday%20Rebroadcast&mediaID=5467&collectionID=189&collectionName=Willing%20And%20Obedient&contentPart=Pt.%2011%20-%20What%20Is%20To%20Be%20Done%20For%20Them&authorName=Keith%20Moore&locationName=Faith%20Life%20Church%20Branson&collectionStarted=Sunday,%20August%2021,%202016&vodPathName=/vod/smil:Weekend_Sun_RB.smil/playlist.m3u8
The following is my code:
Any help or direction would be greatly appreciated. I tried everything I've read in the documentation and get the same issue. Do I need to use JWPlayer's API to resize it's player? If so, does anyone have an example using Flash?
Thanks,
Brandon

How to autoplay mobile web video iOS (see demo)

Is there any library that sequences images and audio playback? I'm guessing that's the only way this could work..
Which picture formats would work best? I'm guessing that pictures wouldn't be as compressed as a video, but this example loads instantly for me:
Demo: Autoplay Inline Video iOS
Planning to just convert the video with ffmpeg. Any knowledge and advice would be great before I get started. Thanks
I believe that since iOS 6.1 you can no longer autoplay videos.
Referring to this stackoverflow post
"Apple has made the decision to disable the automatic playing of video on iOS devices, through both script and attribute implementations.
In Safari, on iOS (for all devices, including iPad), where the user may be on a cellular network and be charged per data unit, preload and auto-play are disabled. No data is loaded until the user initiates it." - Apple documentation.

why jplayer playing on iphone?

i thought flash dont work on iphone and i been tring to see this jplayer on my mobile iphone 4 and mp3 is playing fine on it, so im scraching my head and thinking why its playing it?
so this means, this jplayer will work on all the browser and mobiles? cause im making site for playing audio, need to know.
example: http://www.jplayer.org/latest/demo-01-supplied-mp3/
this is in flash tho, im really confused.
btw just to clear another thing is, even if its html5 it should not play mp3 file in html5 on iphone, because mp3 format is not supported by firefox.
list of format supported by browsers: http://www.jplayer.org/latest/developer-guide/#reference-html5-audio-format
because, jPlayer is HTML 5 audio and video player with jquery, Please check your link again and be confirm that it is saying, "HTML5 Audio & Video player for jQuery" not flash player
HTML5 allows you to play video/audio without any flash involved anywhere. That version of JPlayer you are looking at uses HTML5
jplayer only uses flash when it does not find a html5 compatible browser. please have a look on the jplayer documentation.
http://www.jplayer.org/0.2.4/developer-guide/

Javascript Mp3 Player, NONE FLASH

I currently have a simple flash Mp3 player on my site which works lovely. The issue is, most cell phones do not support flash and a large portion of my visitors come through via a mobile device. The alternative to this is to replace the flash player with a javascript player. I found a JQuery one but it only works on HTML5 compatible browsers. Does anyone know of a good alternative that would work on mobile devices as well as most desktop web browsers?
You can check if the browser supports the HTML5 audio tag if not, use the flash version.
Check out jPlayer.

Categories

Resources