Page 1 of 1

MSNBC video code

Posted: 21 Apr 2010, 11:52
by kahuna
I am needing help with code using videos from http://www.msnbc.com

It has a few dirrent video ID's but I would like to make a BB code from it that's easy to use?

Code: Select all

<object width="420" height="245" id="msnbc65b013" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"><param name="movie" value="http://www.msnbc.msn.com/id/32545640"><param name="FlashVars" value="launch=36674346&width=420&height=245"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="wmode" value="opaque" /><embed name="msnbc65b013" src="http://www.msnbc.msn.com/id/32545640" width="420" height="245" FlashVars="launch=36674346&width=420&height=245" allowscriptaccess="always" allowFullScreen="true" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed>

Re: MSNBC video code

Posted: 21 Apr 2010, 14:23
by cisco007
try this:

bbcode usage:

Code: Select all

[msnbc]{NUMBER}[/msnbc]
html replacement:

Code: Select all

<object width="420" height="245" id="msnbc2b1f9b"><param name="movie" value="http://www.msnbc.msn.com/id/32545640" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"><param name="FlashVars" value="launch={NUMBER}&width=420&height=245"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="wmode" value="opaque" /><embed name="msnbc2b1f9b" src="http://www.msnbc.msn.com/id/32545640" width="420" height="245" FlashVars="launch={NUMBER}&width=420&height=245" allowscriptaccess="always" allowFullScreen="true" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>
helpline:

Code: Select all

[msnbc]video ID[/msnbc]
example:

Code: Select all

[msnbc]36675602[/msnbc]
use the number in red from the URL

http://www.msnbc.msn.com/id/3032619/vp/36675602#36675567

haven't tested it, but i looked at some embed codes, and seems like that is the video id, test it and let me know if it works!

Re: MSNBC video code

Posted: 22 Apr 2010, 12:24
by kahuna
that works awesome! Thanks!

Re: MSNBC video code

Posted: 22 Apr 2010, 18:40
by cisco007
great, glad it worked! since i didn't really test it before hand!