Resource types

FLV videos and legacy file links not working since upgrade to 2.4.1

Picture of Phil Macfarlane
Re: FLV videos and legacy file links not working since upgrade to 2.4.1

Hi folks,

As a new account holder, the previous post would not allow me to post URLs due to it being detected as spam.  Please find this problem re-posted below but with related URLs this time... many thanks.


I've just updated our school Moodle site from 1.9 to 2.4.1 and since the upgrade none of my teacher's pages that include URLS to FLV videos are displaying the files within the page.

Previously the code below would show a preview pane of the video and allow you to play the file within the page.  Since the upgrade it doesn't show up anything on the page at all.  If I put text before the </a> it shows the text as a URL and asks whether you want to save or open the file, as you would expect of a normal hyperlink but this is not the behaviour we need.  Code as follows:

<a href=""></a>

I have trawled through forums and made a few changes. First there was the issue with all the files having been moved to the legacy files folder which I initially resolved by changing a couple lines of code in the filelib.php as explained in  When I made this changed the links were all changed from draftfile.php links to the correct file.php link but since then all the links have reverted back so I am stuck with this same problem again in addition to the embedded FLV issue.

I have checked the Embedded Media player settings and everything seems to be set correctly and from the documentation on the embedded player ( it seems that the mediaplugin filter should automatically detect the flv files and embed them, but it doesn't.

I now have a lot of teachers complaining that the videos in the courses they are trying to teach don't work sad  Any help or suggestions on how to fix this would be greatly appreciated.

Thanks in advance,



Average of ratings: -