Embedded video not shown in blog editor

Bug #623671 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
Low
Unassigned

Bug Description

When I embed a video in a blog post, the code stays in the HTML editor, but I don't see anything in the WYSIWYG editor thus tempting me to think the video was not embedded properly.

WordPress solves that problem by putting a generic placeholder there that just says that an object was embedded. That way it is possible to continue writing the blog post and knowing that the video is there.

Changed in mahara:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Andrew Nicols (dobedobedoh) wrote :

Would be handy to also have a tinymce button to embed videos within a blog too...

tags: added: tinymce
tags: added: usability
Revision history for this message
Robert Lyon (robertl-9) wrote :

On my initial test I was able to embed a video in a blogpost using <iframe> fine.

eg I added this in html view:

<p>testing time</p>
<p><iframe src="http://www.youtube.com/embed/fHCOJqdV8xI" width="560" height="315" frameborder="0"></iframe></p>
<p>another test</p>

and switching back to wysiwyg view showed me the video.

I also tried with embedded object code:
<p>testing time</p>
<p><object width="560" height="315"><param name="movie" value="//www.youtube.com/v/fHCOJqdV8xI?hl=en_US&amp;version=3" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/fHCOJqdV8xI?hl=en_US&amp;version=3" type="application/x-shockwave-flash" width="560" height="315" /></object></p>
<p>another test</p>

and again switching back to wysiwyg view showed me the video.

I wonder if tinymce is better at handling the embedded video code now?

Anyway - it doesn't seem t to be a problem anymore

Changed in mahara:
status: Triaged → Invalid
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Robert: This is not an issue anymore since we've had the safeiframe feature of HTMLPurifier that makes our life much easier. :-) The iframe code was simply stripped out upon saving because it was considered unsafe.

Andrew's idea for an easy embed button is already a wishlist item (bug #1163682) so no need to keep track of here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.