168Views6Replies

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.

Discussions

0
None
beanieostrich

7 years ago

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

0
None
kelseymhbeanieostrich

Reply 7 years ago

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

0
None
beanieostrichkelseymh

Reply 7 years ago

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

0
None
hardwarehank

7 years ago

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...

0
None
kelseymhhardwarehank

Reply 7 years ago

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."

0
None
kelseymh

7 years ago

BUMP



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