Editing the Moodle FLV Player

Thursday, July 22, 2010 Sukhwant Lota 0 Comments

As we've recently updated the Leeds City College Moodle to 1.9.9 we've had to re-do some of the tweaks to the Flash Video Player we had previously done.

As Moodle uses the JW Player, we updated this to the latest version and included subtitles. In order to do this, you need to find the location of the file which displays the video player, this is located -

moodle_Server\mod\resource\type\file\resource.class.php

within the file you need locate the section which starts

 "resourcecontent resourceflv"

Within this section you can add the code to load subtitles and to show an image when the video isn't playing.

0 comments: