162Views6Replies

Author Options:

Instructables server doesn't recognize YouTube's new "iframe" embed codes Answered

Earlier today, a user reported that they couldn't embed videos in their Instructable. They get "unsupported video host" errors. With a great clue from M4industries, I'd like to report this as a new bug (okay, a needed new feature).

YouTube has changed the XML they generate for embedding. The default now uses an "iframe" container, rather than an XML "object" container with nested "param" tags. Instructables' backend scripts don't recognize "iframe" as valid, and report back "Unsupported video host," rejecting the embed request.

For the moment, users need to manually select "Use old embed codes." on YouTube's interface. Hopefully Instructables can add the necessary conditional to their scripts to support this new markup.

6 Replies

user
beanieostrich (author)2011-03-21

It will not allow me to use the old video code either.

Select as Best AnswerUndo Best Answer

user
kelseymh (author)beanieostrich2011-03-21

Did you have some other box checked? Other users have reported that the "use enhanced security" check box also causes I'bles to barf.

Select as Best AnswerUndo Best Answer

user
beanieostrich (author)kelseymh2011-03-22

The first attempt of embedding a vdeo was without the "use enhanced security" box checked. And I was using the old type of code.

Select as Best AnswerUndo Best Answer

user
hardwarehank (author)2011-02-13

I just had a bunch of trouble with this. It doesn't work if you tick the enhanced privacy box in the YouTube embed code area either, as far as I can tell. There should really be some error checking or something going on here - or they could just blanket allow iframes from Youtube...

Select as Best AnswerUndo Best Answer

user
kelseymh (author)hardwarehank2011-02-13

It's not a matter of "allow." They need to write new software to parse the iframe-based embed codes in order to identify it as coming from YouTube, or wherever else. I think that's why it's considered a "new feature" rather than a "bug."

Select as Best AnswerUndo Best Answer

user
kelseymh (author)2011-02-04

BUMP



Users continue to report this problem. Any word on when an update to the video-handling code will be rolled out?

Select as Best AnswerUndo Best Answer