← Back to team overview

mahara-contributors team mailing list archive

[Bug 708327] Re: Youtube embed code removed by htmlpurifier

 

And I have just added a regexp from Mike Kelly to the external video
block.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/708327

Title:
  Youtube embed code removed by htmlpurifier

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  The default embed code on youtube is now an iframe, which gets
  stripped out by htmlpurifier.  See
  http://htmlpurifier.org/phorum/read.php?3,5255,5261

  We may need to go back to the bad old days of custom htmlpurifier
  filters.

  We'd also need to allow iframes through from tinymce (add
  "iframe[src|width|height|align|title|class|type|frameborder|allowfullscreen]"
  or similar to extended_valid_elements)



References