Moodle

Embedding an MP3 file into a blog results in code showing on the surface of the page.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.8, 1.9
  • Fix Version/s: None
  • Component/s: Filters
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

Embedding an MP3 file into a blog results in code showing on the surface of the page.

In Moodle 1.6.4, this did not happen.

See the attached image.

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Can you check this for 18_STABLE onwards, Mathieu?

Show
Eloy Lafuente (stronk7) added a comment - Can you check this for 18_STABLE onwards, Mathieu?
Hide
Mathieu Petit-Clair added a comment - - edited

Confirmed .. in 1.8 and 1.9. Not sure it's a bug though, as it's clearly the way the mediaplugin filter is expected to work: it replaces <a .. /a> links with the plugin, as can be seen on http://cvs.moodle.org/moodle/filter/mediaplugin/filter.php?view=annotate#l39

It could be nice if the mediaplugin filter would honor the <span class="nolink">...</span> like glossary module does.

Show
Mathieu Petit-Clair added a comment - - edited Confirmed .. in 1.8 and 1.9. Not sure it's a bug though, as it's clearly the way the mediaplugin filter is expected to work: it replaces <a .. /a> links with the plugin, as can be seen on http://cvs.moodle.org/moodle/filter/mediaplugin/filter.php?view=annotate#l39 It could be nice if the mediaplugin filter would honor the <span class="nolink">...</span> like glossary module does.
Hide
Mathieu Petit-Clair added a comment -

Forgot to add that the obvious workaround at this time is to disable the mediaplugin filter (which is active by default).

Show
Mathieu Petit-Clair added a comment - Forgot to add that the obvious workaround at this time is to disable the mediaplugin filter (which is active by default).
Hide
Dongsheng Cai added a comment -

Not a bug, to embed a MP3 file, use the URL directly, it is not necessary to put it in a link.

Show
Dongsheng Cai added a comment - Not a bug, to embed a MP3 file, use the URL directly, it is not necessary to put it in a link.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: