|
Asylum Feedback/Support Audio Asylum feedback, support and feature wish list. |
For Sale Ads |
Use this form to submit comments directly to the Asylum moderators for this forum. We're particularly interested in truly outstanding posts that might be added to our FAQs.You may also use this form to provide feedback or to call attention to messages that may be in violation of our content rules.
Original Message
Most modern forums
Posted by J.Mac on August 14, 2016 at 01:53:41:
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.