Skip to content Skip to sidebar Skip to footer

The Html5 Video Shows At Local But Not Online

this is the first time I'm trying to use html5 to display a video. I could view the video on my local machine and wamp, no problem with the code. However today I loaded the video p

Solution 1:

had a similiar issue, and i had to register the mime types via .htaccess on my server (mp4 didn t work before).

.htaccess-file:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/mp4 .mov
AddType video/webm .webm

check here: http://blog.j6consultants.com.au/2011/01/10/cross-browser-html5-video-running-under-iis-7-5/

Solution 2:

Just an idea but does your server block underscore prefixed folders?

Can you access the videos directly if you type the full URL (i.e. http://abc.mysite.com/_videos/abc12296_Animation.mp4)?

Also some servers may not serve those specific file types unless you specify you want to and tell the server how to handle it. Can you provide more information on the host you are using?

Edit Since I cannot post comments on the main question. What aletzo is talking about with case sensitivity is that some servers (Linux usually) are case sensitive so FILE.gif is different than file.gif and other servers (usually Windows) do not care about case and FILE.gif and file.gif are actually referring to the same file.

Post a Comment for "The Html5 Video Shows At Local But Not Online"