MSNBC video code

Support for PhpBB3 BBCodes. Post here to get help with any BBCode related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
kahuna
BBCoder II
BBCoder II
Posts: 6
Joined: 03 Apr 2010, 17:21

MSNBC video code

Post 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>
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: MSNBC video code

Post 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!
kahuna
BBCoder II
BBCoder II
Posts: 6
Joined: 03 Apr 2010, 17:21

Re: MSNBC video code

Post by kahuna »

that works awesome! Thanks!
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: MSNBC video code

Post by cisco007 »

great, glad it worked! since i didn't really test it before hand!
Locked