CLICK TO RETURN TO IRONPOUR.COM
Pages: [1]
  Print  
Author Topic: How to put embedded video on forum  (Read 643 times)
0 Members and 1 Guest are viewing this topic.
Ferrousity
Grand Poobah, and General Chief Muckity Muck
Administrator
Newbie
*****
Posts: 43


Light Fuse......Get Away


WWW
« on: May 19, 2007, 03:25:14 PM »

If you want to include Youtube video, I have added a feature that allows you to simply input the "watch" URL to the post and it will automatically add the embedded video.

for example:
Code:
http://www.youtube.com/watch?v=xVnkd7ot_pw



gives you this:

http://www.youtube.com/




If you want to add from Google video, the process is slightly different.
  • copy the "embed" code from the google video website
  • Paste the code into the message box of you post so you can see it
  • Click the "insert Flash" button on the toolbar above your post box, it is the first one on the left side, its pink and blueish
  • change the numbers where it says "Flash=xxx,xxx" so the numbers are similar to the dimensions of the video, in pixels. 400,326 should be fine
  • find the URL of the actual stream in the "embed" code, (just the part I highlighted in red) see what the finished code looks like in the example below
  • delete the rest of the unneeded code, or leave it until you are sure you did it right, you can modify your post if it doesn't work right the first time

Code:
[flash=400,326]http://video.google.com/googleplayer.swf?docId=537686963646486914&hl=en"[/flash]

<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=537686963646486914&hl=en" flashvars=""> </embed>



<a href="http://video.google.com/googleplayer.swf?docId=537686963646486914&amp;hl=en&quot;" target="_blank">http://video.google.com/googleplayer.swf?docId=537686963646486914&amp;hl=en&quot;</a>




<a href="http://video.google.com/googleplayer.swf?docId=7971201553383177694&amp;hl=en&quot;" target="_blank">http://video.google.com/googleplayer.swf?docId=7971201553383177694&amp;hl=en&quot;</a>

Of course, if you know more about xhtml, embed scripts, and bbcode markup than I do, then you may be able to do more. I am, however, unable to set full html permissions for users, so you have to you will have to use basic html, and bbcode.
« Last Edit: December 20, 2007, 08:09:24 AM by Ferrousity » Logged

"The secret of life is to have a task, something you devote your entire life to, something you bring everything to, every minute of the day for the rest of your life. And the most important thing is, it must be something you cannot possibly do. "
--------------------Henry Moore
Pages: [1]
  Print  
 
Jump to: