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
Resolved - Add following for tags - Jun 27, 2013
Resolved - compare border width around boxes with TT - Jun 27, 2013
Resolved - Enforce user name spaces - Jul 24, 2013
Correct any UTF-8 issues - Oct 09, 2013
Resolved - Add auto-save and live preview to blog posts - Aug 21, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 5, 2024 - 7:13 p.m. EDT