Instructables server doesn't recognize YouTube's new "iframe" embed codes
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.