flash - MediaElement.js not displaying video in Firefox with Linux -


i'm programing video visor mediaelement.js

the web retrieves video path, in server side im using php that.

it works in ie, firefox or chrome (either windows or mac). in firefox linux (ver 24.0) it's displaying time gray box famous message no video supported format , mime type found.

i tried installing codecs @ centos or installing opera (failed well, in windows). added @ htaccess mime types required.

i don't know what's going on.

<div id="div_video">     <video id="video1" width="640" height="360" controls="controls" >     <source src="videos/<?php echo $client.'/'.$main_video[2]?>" type="video/mp4" title="mp4" />     </video> </div> 

what realize when i'm reproducing video demo in firefox, ie or chrome (windows) says native when i'm reproducing video in opera (windows) says flash , never working @ all.

hope can me! thanks

it appears flash fallback not working. number of reasons reason flashmediaelement.swf file isn't in same directory included mediaelementplayer.js file.

to fix put flashmediaelement.swf file in same directory included javascript file. if not have can redownload site http://mediaelementjs.com/ (look in build directory).

if don't want put in same folder use code hook right file.

$('#video1').mediaelementplayer({pluginpath:yourpathhere}); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -