Resolved - Fix YouTube embed code
Resolved on Sep 5, 2013
Unfortunately, ampersand signs are getting encoded. The & sign can be a valid character that's part of a YouTube video URL. No, I made a mistake in grabbing the YouTube URL to embed in my content here. No amperand was used in the file name at YouTube.
Why is the old-style YouTube embed code with object and param tags working, partially? Or is it. For some reason, the video is embedded, and the object and param code is displayed visually. The tags are encoded and displayed as expected. That is, the embed and param tags do not work, which is correct. And the video is not working either as expected. Nothing wrong here.
The object and param tags are suppose to be ignored and encoded so that they display, but why is the video still being embedded? Space for the video was being displayed. May need to look at this some more.
The one change I had to make to the Format.pm::process_embedded_media subroutine was to check for multiple occurrences of the embedded media. Changed if statement to a while statement.
Example:
2009 - 40 Year Anniversary of the Apollo 11 Lunar Landing - fixed
From JR's : articles
201 words - 1141 chars
- 1 min read
created on
updated on
- #
source
- versions
Related articles
Resolved - Add embed github code - Sep 24, 2013
Resolved - Remember which page last visited after leaving site - Jul 22, 2013
Resolved - Fix problem of not being able to save an old version - Sep 05, 2013
Resolved - Change frontpage command to draft - Jun 27, 2013
Resolved - Add reading time to a post - Oct 08, 2013
more >>