X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

HTML5 videos do not play

Kuphostiwe

When I click play on an HTML5 video, the video starts downloading but it does not play. Pressing pause/play again does not solve the problem. Moving the play head to a new location does not solve the problem either.

This happened

Every time Firefox opened

== I started using Firefox

When I click play on an HTML5 video, the video starts downloading but it does not play. Pressing pause/play again does not solve the problem. Moving the play head to a new location does not solve the problem either. == This happened == Every time Firefox opened == I started using Firefox

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • -The IcedTea NPR Web Browser Plugin (using IcedTea6 1.8 (6b18-1.8-0ubuntu1)) executes Java applets.
  • The Totem 2.30.2 plugin handles video and audio streams.
  • DivX Web Player version 1.4.0.233
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.
  • Shockwave Flash 10.1 r53

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

Eminye Imininingwane

Application Basics
Name
Firefox
Version
3.6.3
Profile Directory
Open Containing Folder
Installed Plugins
about:plugins
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
Ubuntu Firefox Modifications
0.9rc2
true
ubufox@ubuntu.com
webfav
1.17
true
netbook-webfav@ubuntu.com
Adblock Plus
1.2
true
Modified Preferences
Name
Value
browser.places.importBookmarksHTML
false
browser.places.smartBookmarksVersion
2
browser.startup.homepage_override.mstone
rv:1.9.2.3
extensions.lastAppVersion
3.6.3
network.cookie.prefsMigrated
true
privacy.sanitize.migrateFx3Prefs
true
security.warn_viewing_mixed
false

TXGuy 87 izisombululo 861 izimpendulo
Kuphostiwe
http://support.mozilla.com/en-US/kb/Youtube+HTML5+does+not+work+in+Firefox
Eccles 0 izisombululo 1 izimpendulo
Kuphostiwe

TXGuy, that page you've linked to is out of date, it only talks about Theora video, not webm. I'm seeing the same problem as AnonymousUser if I have my privacy preference set to not accept cookies from sites. I've made an exception for youtube (Tools > Page Info > Permissions > Set Cookies > Allow) so I could opt in to their html5 beta, but it makes no difference to the problem. If I want to watch a webm youtube video I have to set "Accept cookies from sites" as a global preference

TXGuy, that page you've linked to is out of date, it only talks about Theora video, not webm. I'm seeing the same problem as AnonymousUser if I have my privacy preference set to not accept cookies from sites. I've made an exception for youtube (Tools > Page Info > Permissions > Set Cookies > Allow) so I could opt in to their html5 beta, but it makes no difference to the problem. If I want to watch a webm youtube video I have to set "Accept cookies from sites" as a global preference
cor-el
  • Top 10 Contributor
  • Moderator
17477 izisombululo 157949 izimpendulo
Kuphostiwe

See also https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements

Make sure that the server sends the video files with the correct MIME (content) type, otherwise Firefox won't play them.

See also https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements Make sure that the server sends the video files with the correct MIME (content) type, otherwise Firefox won't play them.
avanluv77 0 izisombululo 1 izimpendulo
Kuphostiwe

Impendulo Ewusizo

I had the same problem too. I found a tutorial on Lynda.com that was very helpful. I needed to configure my server to deliver html5 formats. This requires a .htaccess file. You can put it in any directory and it will not effect directories above, just within that folder or below. It is simple a txt file that has code like this:


AddType video/mp4  mp4 m4v
AddType audio/mp4  m4a
AddType video/ogg  ogv
AddType audio/ogg  ogg oga
AddType video/webm webm


Make sure that when it is uploaded, it is renamed to not include the .txt. The file name should be .htaccess Let me know if you have questions with this. I have been pulling my hair out over this for weeks and am so happy to finally have it playing on Firefox. Hope this helps....

I had the same problem too. I found a tutorial on Lynda.com that was very helpful. I needed to configure my server to deliver html5 formats. This requires a .htaccess file. You can put it in any directory and it will not effect directories above, just within that folder or below. It is simple a txt file that has code like this: AddType video/mp4 mp4 m4v AddType audio/mp4 m4a AddType video/ogg ogv AddType audio/ogg ogg oga AddType video/webm webm Make sure that when it is uploaded, it is renamed to not include the .txt. The file name should be .htaccess Let me know if you have questions with this. I have been pulling my hair out over this for weeks and am so happy to finally have it playing on Firefox. Hope this helps....

Okulungisiwe ngu cor-el

ch_t 0 izisombululo 1 izimpendulo
Kuphostiwe

Impendulo Ewusizo

Thank you so much, avanluv77!

I just updated to Firefox 8.0 and the .webm/.mp4 versions of my HTML5 videofile wouldn't show. I included your code in my .htaccess and now everything is fine!!

Thank you so much, avanluv77! I just updated to Firefox 8.0 and the .webm/.mp4 versions of my HTML5 videofile wouldn't show. I included your code in my .htaccess and now everything is fine!!
kavitadey 0 izisombululo 1 izimpendulo
Kuphostiwe

I have tried updating the .htaccess file but the video does not play in html5 video tag. However when I copy the location of the file, I could play the video directly.

Donno whats the problem...

my code:

  • source src="videos/01.mp4" type='video/mp4' />
  • source src="videos/01.webm" type='video/webm' />

replace * with <

I have tried updating the .htaccess file but the video does not play in html5 video tag. However when I copy the location of the file, I could play the video directly. Donno whats the problem... my code: *source src="videos/01.mp4" type='video/mp4' /> *source src="videos/01.webm" type='video/webm' /> replace * with <

Okulungisiwe ngu kavitadey

cor-el
  • Top 10 Contributor
  • Moderator
17477 izisombululo 157949 izimpendulo
Kuphostiwe

Did you check with which content type the server sends the file?

Live Http Headers:

Did you check with which content type the server sends the file? Live Http Headers: * https://addons.mozilla.org/firefox/addon/live-http-headers/