為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Video not play in Android device

  • 9 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

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>
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 -------- <pre><nowiki><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></nowiki></pre>

由 cor-el 於 修改

所有回覆 (9)

more options

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?

more options

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>

由 cor-el 於 修改

more options

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?
more options

Here is url but please check actual android device and in Mozilla Firefox browser. http://saving.travel

由 aniket.dhadave 於 修改

more options

Works for me with Firefox on mobile.

由 cor-el 於 修改

more options

Are you using content blocking extensions like uBlock Origin ?

more options

cor-el said

Are you using content blocking extensions like uBlock Origin ?

No

more options

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.

more options

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.