![]() ![]() Very easy because Stan Bogdanov has put some nice tutorials ( ) that make things easy for you. ![]() Since many people who use Flash video in Hot Potatoes (outside Moodle) are using Jeroen's player with good results, I decided to try this one. I'm producing a few exercises in Hot Potatoes to use with the HotPot module. I should probably have explained a bit better why I wanted to link to the FLV player directly. Thanks a lot for your help Matt (thanks Rob too). If you run into difficulties, drop me an email. Probably not applicable in your case though. Personally, I think it'd be easier to download the original player, probably a later version with fewer bugs, from Jeroen Wijering's website, or use another purpose built FLV player that allows you to pass the variable you want into it.īTW There's a bug in Firefox 2.0 at the moment that means it won't render embedded SWFs that have percentage dimensions values, i.e. You'll have to work out from that how you're going to embed 'flvplayer.swf' into the page you want to use. Try it out with absolute paths to begin with. 'file' is the variable that gets passed into flvplayer.swf and its value will be the URL to the FLV file. '/filter/mediaplugin/flvplayer.swf?file='.$url.' width:"'.$width.'", height:"'.$height.'", majorversion:"6", build:"40",Īllowscriptaccess:"never", quality: "high" } Īnd the really, really important bit is here: Here's the important bit of the script if you want to play FLV files: This is the bit that gives the 'flvplayer.swf' the instructions of what to play and how. If you look inside the mediaplugin folder you'll see a PHP file called 'filter.php'. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |