what?!mbman212 wrote:to get the link to work, remove the s from the link. it should be http (s is for secure things).
youtube uses https for a few years now I think
what?!mbman212 wrote:to get the link to work, remove the s from the link. it should be http (s is for secure things).
The BBcode script cannot detect HTTPS linksLA-MJ wrote:what?!mbman212 wrote:to get the link to work, remove the s from the link. it should be http (s is for secure things).
youtube uses https for a few years now I think
That script sucks anyway due to lack of 'allowfullscreen'. You could fix everything with 2 lines of code btwScuL wrote:The BBcode script cannot detect HTTPS linksLA-MJ wrote:what?!mbman212 wrote:to get the link to work, remove the s from the link. it should be http (s is for secure things).
youtube uses https for a few years now I think
Code: Select all
[youtube]http://{TEXT1}.youtube.com/watch?v={TEXT2}[/youtube]
Code: Select all
<object width="480" height="360"><param name="movie" value="http://{TEXT1}.youtube.com/v/{TEXT2}&hl=en&fs=1&ap=&fmt=22"></param><param name="wmode" value="transparent"></param><embed src="http://{TEXT1}.youtube.com/v/{TEXT2}&hl=en&fs=1&ap=&fmt=22" type="application/x-shockwave-flash" wmode="transparent" width="480" height="360"></embed></object>
Code: Select all
[youtube]{IDENTIFIER1}://{IDENTIFIER2}.youtube.com/watch?v={IDENTIFIER3}[/youtube]
Code: Select all
<iframe src="https://www.youtube.com/embed/{IDENTIFIER3}?feature=oembed" frameborder="0" allowfullscreen="" width="480" height="360"></iframe>
Code: Select all
^(?:https?://)?(?:\w{2,3}\.)?(?:youtu\.be/|youtube\.\w{2,3}(?:/embed/|/v/|/watch\?(?:.+?&)?v=))([\w\d-]{11})(?:.*)$
Users browsing this forum: No registered users and 21 guests