I have some questions re customizing the .flv player in MOODLE
(solved, but left here in case someone else runs into this as well)
I've reviewed the info on Jeroen's webpage at
http://www.jeroenwijering.com/?item=Flash_Video_Player
& am using this player as well on a WordPress site, and like some of the configuration options available in that installation - particularly the counters and the fullscreen button option. I've messed around with trying to pass these flashvar parameters to the MOODLE .flv player, without success (I have tried replacing it with the most recent version from Jeroen's site, in case this was the issue).
I find in /filter/mediaplugin/filter.php
$replace .= ' <param name="quality" value="high" />';
$replace .= ' <param name="bgcolor" value="#FFFFFF" />';
...
$replace .= " quality=\"high\" bgcolor=\"#FFFFFF\" width=\"640\" height=\"480\" name=\"flvplayer\" ";
(note I changed the size of the player)
I tried inserting
$replace .= ' <param name="flashvars" value="showdigits=true&showfsbutton=true" />';
- which appears to be correct; but this does not work, the features don't appear :^(.
Can anyone help me out with this?
I got it!
I also needed, in addition to the inserted line above,
$replace .= " quality=\"high\" bgcolor=\"#FFFFFF\" flashvars=\"showdigits=true&showfsbutton=true\" width=\"640\" height=\"480\" name=\"flvplayer\" ";
The fullscreen mode does not seem to work in MOODLE - I get a page error message. But the digits function works fine.
-btw - a nibble in return - I've found that for encoding to .flv format, from .mov (I author in Quicktime format using iShowU or VideoCue on the Mac, and do minor edits in QuickTime Pro) - that the Mac version of On2 Flix Standard ($39, downloadable)
http://tinyurl.com/2pwtxo
works beautifully, with proper metadata inserted.
ffmpegX and VisualHub will encode to .flv for cheap (VisualHub is exceptionally fast), but they don't insert the proper metadata, so the progress bar won't run & you can't scrub.
General help
.flv media filter - customizing .flv player
This discussion has been locked so you can no longer reply to it.