The Valparaiso Beacons Fan Zone Forum

Information => Forum Information => Topic started by: valpo04 on March 23, 2016, 07:04:22 AM

Title: Embedded YouTube Changes
Post by: valpo04 on March 23, 2016, 07:04:22 AM
The old code to embed YouTube videos was found to have a security flaw and did not allow for pasting of secure http links.

I have updated the feature, with more features and options...

Now, you should be able to paste a You Tube url (even https) and get the video to display.

For example, putting: https://www.youtube.com/watch?v=2Rm_eAiV4dA


Will display:

https://www.youtube.com/watch?v=2Rm_eAiV4dA

You can also click the new YouTube button and just paste the video ID like this:

[youtube]2Rm_eAiV4dA[/youtube]

Will display:



Substituting http://youtube.com, http://www.youtube-nocookies.com, http://youtu.be, and http://www.youtu.be also works.  https:// works instead of http://.  Please note any other parameters specified in the URL are ignored.


Additionally, if you want to turn off this feature for your account so that videos are not embedded and only show as a link:

Profile => Look and Layout called Show YouTube videos as a link. 

Checking this box makes the mod create links instead of embedded videos in your post.