The ORG - No shonky business!

Main Menu

How to embed YouTube vids

Started by admin, 17 November 2011, 08:19 PM


Take a video

Replace /watch?v= with /v/ like this

Add flash tags


Enjoy :)


So version 2 SMF won't just allow you to merely post the youtube link like SMF 1?



I just tried same thing with a few vids then the example after seaching "w116" on YT.  I come up with the same code, but got a big white square and no video when I posted.  What am I doing wrong, the code looks exactly the same?
1973 350SE, my first & fave


Hi Oscar,

I had similar problems using your method, and had to click a few more buttons in youtube to get "use old embedded code".
I had to use :

<object width="560" height="315"><param name="movie" value=";hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src=";hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object> 

which I then cut down to:;hl=en_US" type="application/x-shockwave-flash" instead of just using the youtube link  I then inserted the final code into the flash command.

The admin's way looks to be a little easier, but I think that they omitted the part about the screen size, i.e. flash = xxx,yyy because that will not work for all videos.

The code that you posted appears to have an extra "=" after the /v/=g75....

Try that and see if it helps.



P.S. I got your example to work using the editors method, but it will not work for my youtube movie, I just get a blank screen. :-[
1979 450SE "Mrs White"
2022 Touareg-R 3.0TSi Hybrid


Thanks Gavin, you're absolutely right.  Just tried it without the "=" and it worked.

I must have forgotten to mention in my other post about selecting "use old embed code"  I agree it was cumbersome but I suppose I got used to it and it was the only way I could get it to work.  Until admin's new way of course which is easier.  It just makes a post much more palatable being able to view embedded video without having to open another window or tab via a link.

I just tried one of my vids, leaving the window at 200,200 and it worked yet previously wouldn't. Again I think I must have neglected to omit the "=" I even left the "feature=related" bit of the code that you sometimes get added on and it worked yet I thought that might have been a problem, but apparently not.  For you rvideo, no idea what the problem could be but on screen size, for other vids in the past I put the screen size that the old embed code recommended and that seemed to make the videos work flawlessly.
1973 350SE, my first & fave