Moodle

Add filter to process YouTube links and auto-embed the video in the text with correct XHTML

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Filters
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

According to Eloy:

The $CFG->filter_mediaplugin_enable_youtube setting only exists in moodle.org.

We should do one of this (only one):

1) Apply that change to the core filter
2) Create an alternate filter processing just youtube videos

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

BTW, I've changed that custom code handling youtube URLs in moodle.org filter as commented by MDL-19230 and now seems to be processing URLs properly. Helen is checking it right now (with some of her cool posts).

Ciao

Show
Eloy Lafuente (stronk7) added a comment - BTW, I've changed that custom code handling youtube URLs in moodle.org filter as commented by MDL-19230 and now seems to be processing URLs properly. Helen is checking it right now (with some of her cool posts). Ciao
Hide
Helen Foster added a comment -

http://moodle.org/mod/forum/discuss.php?d=123469 now includes a youtube video. (Previously there was a problem with trying to include a tags as well as the youtube link.) Thanks to Eloy for the fix

Show
Helen Foster added a comment - http://moodle.org/mod/forum/discuss.php?d=123469 now includes a youtube video. (Previously there was a problem with trying to include a tags as well as the youtube link.) Thanks to Eloy for the fix
Hide
Martin Dougiamas added a comment -

it's in HEAD, just not in 1.9.x ... I was going to port it back sometime .. will do it now.

Show
Martin Dougiamas added a comment - it's in HEAD, just not in 1.9.x ... I was going to port it back sometime .. will do it now.
Hide
Martin Dougiamas added a comment -

Fixed in 1.9.6 (it defaults to off though, to avoid any unexpected surprises)

Show
Martin Dougiamas added a comment - Fixed in 1.9.6 (it defaults to off though, to avoid any unexpected surprises)
Hide
Helen Foster added a comment -

Martin, thanks for backporting this feature to 1.9.6. I've made a note of it in http://docs.moodle.org/en/Multimedia_plugins and http://docs.moodle.org/en/Moodle_1.9.6_release_notes

Show
Helen Foster added a comment - Martin, thanks for backporting this feature to 1.9.6. I've made a note of it in http://docs.moodle.org/en/Multimedia_plugins and http://docs.moodle.org/en/Moodle_1.9.6_release_notes

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: