Error in multimedia filter in Moodle 1.9.11+ ?

Error in multimedia filter in Moodle 1.9.11+ ?

by Sven Laudel -
Number of replies: 3

Hi,

we're having a problem with the multimedia filter after we updated to moodle 1.9.11+. I'll attach a screenshot displaying the text in the text editor (in the upper part) and the result after the multimedia filter was applied (the lower part of the screenshot).

The new mediafilter code seems to drop everything between the first link (to a pdf) and the link to the mp3 file.The multimedia filter is the only filter which is enabled.

If i revert the php code of filter.php to moodle 1.9.10, the mediafilter works as expected.

Maybe someone can reproduce this behaviour on another moodle installation?

Regards

Sven

Attachment error_filter.png
Average of ratings: -
In reply to Sven Laudel

Re: Error in multimedia filter in Moodle 1.9.11+ ?

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Sven,

I have tried with something like your example, using latest weekly of Moodle 1.9.11+ and it seems to be working ok here. Looking for recently fixed issues I've found MDL-26605 that seems to be pretty much your problem.

So updating to latest weekly of 1.9.11+ (or 1.9.12 coming really, really soon) should terminate the problem.

Ciao smile

=== Attached screenshoot of results ===

Attachment pdf_and_mp3.png
In reply to Eloy Lafuente (stronk7)

Re: Error in multimedia filter in Moodle 1.9.11+ ?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It is still replacing the nice meaningful link text that was added using the HTML editor ("mp3 file" in the example above, but it might say something like "interview with the elusive Eloy Lafuente") and replacing it with the generic "MP3 audio". I still don't understand why that change was made.

Average of ratings:Useful (1)