New way to embed video

To many ads? Support ODJT and see no ads!

Dan The Man

Administrator
Staff member
ODJT Supporter
Jul 20, 2006
15,208
7,547
42
New York
dantheman.me
The media system we had setup here is buggy, it doesn't work for something people. We have a new way now that should work for everyone.

YouTube Videos:

This works with the video ID number wrapped in yt tags.

Say the URL is: http://www.youtube.com/watch?v=MyIyb3v6zEs

All you need is the part after v=

Example: [noparse][yt]MyIyb3v6zEs[/yt][/noparse]

Results in:
[yt]MyIyb3v6zEs[/yt]

Google Video works much the same way. All you need is the numbers after docid=

For example
URL = That Music Guy - Wiedamark 1 - 20070113

Use these tags: [noparse][google]6833084507825292321[/google][/noparse]

Results in:
[google]6833084507825292321[/google]

Please post any thread that have videos in them here, so I can update the code.

Thanks,
Dan
 
Sorry was gonna take care of this sooner, had an incident where we lost power at the office, some fuse on the transformer blew like on fire! and then two minutes later the load balancer mechanism gave us alternate power. I'm slightly pissed had to go into the gym turn off all heat units, turn off that dam fire alarm, and go watch the fire dept pull up.

<a href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=1660791871">Beginner's Guide to Cricket - 11 Ways to Get Out</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=1660791871&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://vids.myspace.com/index.cfm?fuseaction=vids.addToProfileConfirm&videoid=1660791871&title=Beginner's Guide to Cricket - 11 Ways to Get Out">Add to My Profile</a> | <a href="http://vids.myspace.com/index.cfm?fuseaction=vids.home"> More Videos</a>