Audio Asylum Thread Printer
Get a view of an entire thread on one page
|For Sale Ads|
Test. Embed iframe code from the URL shown below.
just let the user enter the URL to the YouTube video, then they expand that into the iframe code recommended by YouTube. And it's a hell of a lot simpler. They just copy the URL right out of the address bar.
is turned into something like this (if you want to use the youtube-nocookie site).
[iframe width="720" height="405" src="https://www.youtube-nocookie.com/embed/IANBoybVApQ?wmode=opaque"
See the link below for regex help.
It may still work, but there's a notice that this was deprecated back in January 2015.
YouTube [object] embeds were deprecated on January 27, 2015. Please migrate your applications to use [iframe] embeds, which can intelligently use whichever embedded player - HTML ([video]) or Flash ([object]) - the client supports.
I can understand maybe not wanting to permit iframes to unknown sites, but YouTube is a known site. You're not accomplishing anything by substituting code for an iframe containing a YouTube video.
Post a Followup:
Post a Message!
This post is made possible by the generous support of people like you and our sponsors: