Video not play in Android device
Hii Mates,
Good afternoon all, I am using a video Html tag but seems in actual android video not playing, i am using .mp4, .ogg, .wemp format.
HTML Code
--------
<video playsinline autoplay muted loop class="bannerImg" poster="img/mobileBg.png"> <source src="http://saving.travel/video/homeVideo.mp4" type="video/mp4"> <source src="http://saving.travel/video/homeVideo.webm" type="video/webm"> <source src="http://saving.travel/video/homeVideo.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video>
Modified
All Replies (9)
Hi
All I can see in your question is a very large black square where you mention some code should be.
What is the address of the website where you are having a problem?
Hii Mates,
Good afternoon all, I am using a video Html tag but seems in actual android video not playing, i am using .mp4, .ogg, .wemp format.
HTML Code
--------
<video autoplay muted loop class="bannerImg" poster="img/mobileBg.png"> <source src="http://saving.travel/video/homeVideo.mp4" type="video/mp4"> <source src="http://saving.travel/video/homeVideo.webm" type="video/webm"> <source src="http://saving.travel/video/homeVideo.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video>
Modified
Seburo said
Hi All I can see in your question is a very large black square where you mention some code should be. What is the address of the website where you are having a problem?
Here is url but please check actual android device and in Mozilla Firefox browser. http://saving.travel
Modified
Works for me with Firefox on mobile.
Modified
Are you using content blocking extensions like uBlock Origin ?
cor-el said
Works for me with Firefox on mobile.
It will playing after clicking play icon(which is also not require and display only mozila firefox). How to autoplay the video.
If I check the auto-play settings then the default is to block audio and video. If I change that setting via Settings -> Site Preferences to only block audio then that is sufficient to make this work. I haven't sound a way to change the default for auto-play on mobile. I don't know whether Seburo has a suggestion.