Originally posted to Livejournal, November 23, 2010, 05:33
Epic fail: Livejournal's system kept stripping away the code for the Youtube video I embedded, even though I used the embed medium form they provide, so I had to relocate this post over to Wordpress. You can find it here. I'm very disappointed in Livejournal's performance, this morning. I really wanted to post that article on this blog, and I should have been able to do so.
Comment added, December 7 at 2:37: Livejournal wasn't alone in this failure. Youtube has changed its code, as one could see by visiting the page on Youtube where this video is found, earlier today: iframes were being used in the code. Livejournal stripped them away. Cutting and pasting into some of the older Youtube code, and putting that on my livejournal as is, working in HTML, I got something that worked.
Whether providers should react phobically to the presence of iframes is something that I have neither the knowledge nor the desire to address. What I do know, as a user, is that I've seen services publicly announce that they wouldn't allow the use of iframes because of perceived security risks - yahoogroups is the one that comes readily to mind. Those responsible for writing that code should have kept that in mind. As I guess they started doing, a few hours ago.
I wish people that would talk to each other, more. This was annoying. If Youtube should switch back to the iframes code, this might help:
| <center><object width="w" height="h"><param value="http://www.youtube.com/v/(string)&rel=1" name="movie" /><param value="transparent" name="wmode" /><embed width="w" type="application/x-shockwave-flash" height="h" src="http://www.youtube.com/v/(string)&rel=1" wmode="transparent"></embed></object></center> |
where the url of the video's page on Youtube is
http://www.youtube.com/watch?v=(string)
w is the width of the video given in Youtube's current code, and h is the height. Youtube seems to get a fair amount of traffic from embedded videos, so I'm guessing that the old code will continue to work, Youtube not wanting to throw away that traffic. I used the code, imputing it into the box while using the "embed media" option, and then, going back into the HTML editor, put the center tages around the <lj embed> tags that surrounded the Youtube code. As you can see, everything worked out, just not as easily as it should have.

0 comments:
Post a Comment