I was testing how to get it to work.
someone gave the advice:
If your link looks like this http://www.youtube.com/watch?v=nwxizEMuSB8
you make it in to this: {video=youtube;nwxizEMuSB8}http://www.youtube.com/watch?v=nwxizEMuSB8{/video}
and change { } in to [ ]
Last edited by Moose; 04-21-2012 at 06:38 PM.
testing
<iframe width="560" height="315" src="http://www.youtube.com/embed/dRkVSVRbUgc" frameborder="0" allowfullscreen></iframe>
Testing -- Still trying to embed the video
<iframe width="560" height="315" src="http://www.youtube.com/embed/v/dRkVSVRbUgc" frameborder="0" allowfullscreen></iframe>
<object width="640" height="360"><param name="movie" value="http://www.youtube.com/v/dRkVSVRbUgc?hl=en_US&version=3&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dRkVSVRbUgc?hl=en_US&version=3&rel=0" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>
In the reply box is a little picture of a film strip, it's in between a quote bubble and a picture in a frame. Click that, paste in the complete url of the youtube video, press OK...
<iframe width="640" height="360" src="http://www.youtube.com/embed/enOHraf3LEk" frameborder="0" allowfullscreen></iframe>
That works for youtube videos. I can't get it to work for liveleak videos. WHILE fooling around, I finally discovered something really interesting! I only get the doubled embed videos when I have javascript enabled for MP.net and I don't get any liveleak embed at all if I have javascript disabled for MP.net but youtube will always appear embedded once. I think it's a problem with the forums relying on both server side and client side embedding... combined with some of us sometimes allowing and sometimes not allowing javascript to run.
Allright, I'm going to try this with a completely different more modern browser that doesn't have noscript installed.
plain paste:
http://www.liveleak.com/view?i=d01_1361022894
paste with manual embed tags:
Last edited by ckedge; 02-18-2013 at 02:18 PM. Reason: change video to russian spongebob
Oh man, when I edited my post above, the preview looked different than the original, and the first page refresh also looked different than the original, but coming back to the page again it all looks doubled yet once again. Is there also some background job that goes around embedding content automatically?
No, it's definitely client side javascript. I posted the above with Google Chrome, and every version is doubled. When I view it in Firefox with javascript enabled it's doubled, when javascript is disabled it's simply plain direct hypertext links to liveleak.
Youtube plain paste:
http://www.youtube.com/watch?v=vhuzb3WMntc
Youtube movie icon:
Edit: The doubled youtube video appears when I do a plain url paste and I view it in a browser that has javascript enabled. The single youtube video appears as long as one uses the movie icon or uses a video bbcode tag, whether viewing it with or without javascript enabled.
And what you see when you hit "save" is NOT necessarily what everyone and you will see when you navigate to the post latter. When you hit "save", the client side "automatic url to embedding" code does not run, so it looks like as you intend, but everyone else and you should you come back to the page again will see embedded videos where in preview and "save" you saw only a plain html link to youtube.
Basically - it's really hard to post a plain link to youtube, it will always get "client side expressed" into a doubled video.
This is really frustrating. And it's important because some videos should not be embedded here... and sometimes one wants to give people just the hyperlink and not an embedded video..
I wonder if it wouldn't be better to turn off the javascript client side "embedding" code...?
Last edited by ckedge; 02-18-2013 at 02:32 PM. Reason: get rid of failed manual embed, try out youtube, add youtube comment
Edit: NOPE, that's not reliable either. I have no idea how to safely and reliably provide simply a hyperlink to youtube, and not accidentally embed it. It may have "seemed" to work for me ... for whatever reason. I go back and edit a post and bam it's embedded despite me not wanting it embedded.HTML Code:Okay, you can provide just a link to youtube as long as you strip out the "http" from what you paste into the browser, and then apply a "hyperlink" to it.
I think the only safe thing to do is to put it inside html tags, and force people to copy and paste.
HTML Code:http://www.youtube.com/watch?v=vhuzb3WMntc
Last edited by ckedge; 02-18-2013 at 02:50 PM.