Help me: firefox not run code php video .mp4 run on directadmin

hiepphan1283

Verified User
Joined
Jun 6, 2012
Messages
6
Hi support,

I have code video run .mp4, we run on IE, google Grome ok, but run on firefox not run.

COde of us:

<!DOCTYPE html>
<html>
<head>
<title>Video.js | HTML5 Video Player</title>

<!-- Chang URLs to wherever Video.js files will be hosted -->
<link href="video-js.css" rel="stylesheet" type="text/css">
<!-- video.js must be in the <head> for older IEs to work. -->
<script src="video.js"></script>

<!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
<script>
_V_.options.flash.swf = "video-js.swf";
</script>


</head>
<body>

<video id="example_video_1" class="video-js vjs-default-skin"
controls preload="auto" width="640" height="264"
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup='{"example_option":true}'>
<source src="banmoi_clip1.mp4" type='video/mp4' />

</video>

</body>
</html>

if us run code on host plesk 9 or cpanel on firefox is OK. But run on directadmin not ok.
 
Hi Hiep,
I think the problem you faced may be related to Mime Type.
Just check attached file for detail from Firebug.
Also I see a red error message there.

mime_type_error_maybe.png
 
Last edited:
Back
Top