swf loaded from file system

42 views
Skip to first unread message

hallsy

unread,
Mar 6, 2011, 2:30:14 AM3/6/11
to MediaElement.js
Hi-

I have a problem playing videos using flashmediaelement.swf loaded
from the local file system.

I put the path the flashmediaelement.swf into my FlashPlayerTrust file
(/etc/adobe/FlashPlayerTrust/foo.cfg). This successfully allows it to
load from the file system, and I get the following events back from
it:

play
playing
loadstart
timeupdate (with currentTime=0 until I quit my app)

But the video never plays and the currentTime never changes from 0.

Interestingly, I looked at the network traffic using wireshark. Turns
out the complete mp4 file _was_ downloaded - I could even save off the
stream using wireshark and play the file using a native media player
app!

Also, if I force options.pluginPath to load flashmediaelement.swf from
a web server (any web server), then all is fine and the video plays.

Do you have any ideas as to what might be wrong? I want to put the
whole thing onto disk for distribution (I'm running WebkitGtk inside a
small wrapper app).

Regards-

David

hallsy

unread,
Mar 7, 2011, 6:24:50 PM3/7/11
to MediaElement.js
Hmm. 2.1.1 seems to have fixed this, but I can't figure out why from
the changes.
Reply all
Reply to author
Forward
0 new messages