|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
24.9.86.23
Test. Embed iframe code from the URL shown below.
Follow Ups:
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.
So this:
https://www.youtube.com/watch?v=IANBoybVApQ
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"
frameborder="0" allowfullscreen=""][/iframe]
See the link below for regex help.
It may still work, but there's a notice that this was deprecated back in January 2015.
Deprecation Notice
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:
FAQ |
Post a Message! |
Forgot Password? |
|
||||||||||||||
|
This post is made possible by the generous support of people like you and our sponsors: