Wednesday, 15 January 2014

html - html5 video tag not displaying video, does ColdFusion make a difference? -



html - html5 video tag not displaying video, does ColdFusion make a difference? -

i'm on server still running coldfusion version 8. i'm not sure if problem though.

i have next code can work in computer on desktop, using both firefox , chrome. access html file straight using file scheme url, i.e. file:///c:/.../test.html

<!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>test</title> </head> <body> <p> seek w3schools test video</p> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> browser not back upwards video tag. </video> </body> </html>

when set test.cfm or test.html page on coldfusion 8 server, neither browser displays video. movie.mp4 , movie.ogv files on server in same directory test.cfm file. in firefox get:

"no video supported format , mime type found."

in chrome shows video controls no video present.

is there need enable on server (it shared hosting account)? perhaps not particular coldfusion , i'm making error (note first effort utilize video tags).

thanks

p.s. if access on computer using aptana's launch mechanism , running in:

127.0.0.1:8000/.../test.html

i same problem running on server. videos not display.

courtesy of miguel-f's guidance, server missing back upwards .mp4 , .ogv mime types. when hosting company added server, videos displayed.

html html5 coldfusion coldfusion-8

No comments:

Post a Comment