1 min

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

#junco
#resolved

From JR's : articles
201 words - 1141 chars - 1 min read
created on
updated on - #
source - versions

Related articles
GitHub commits to do 17Oct2013 - Oct 17, 2013
Resolved - Add pound sign and period punctuation buttons to phone and tablet displays - Jun 27, 2013
Resolved - Kestrel code stats - Aug 20, 2013
Resolved - Fix bug with not able to view source - Jun 27, 2013
Resolved - Add Markdown support - Jul 02, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 4, 2024 - 11:19 p.m. EDT