National Geographic Video BBCode

Video BBCode Database
BBCodes used for embedding videos
There is no support here! Only Read Access!
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 15:04
Location: bbcode table

National Geographic Video BBCode

Post by BBCode Bot »

National Geographic Video BBCode

Author: fl0o
Description: With National Geographic Video BBCode you can post videos hosted by video.nationalgeographic.com

BBCode:

Code: Select all

[Ng]{IDENTIFIER}[/Ng]
HTML:

Code: Select all

<embed src="http://video.nationalgeographic.com/video/player/swf/ngplayer_syndicated.swf" flashVars="slug={IDENTIFIER}&img=http://video.nationalgeographic.com/video/player/media/{IDENTIFIER}/{IDENTIFIER}_480x360.jpg&vtitle=&permalink=http://video.nationalgeographic.com/video/player/news/animals-news/{IDENTIFIER}.html&share=true" name="flashObj" width="460" height="321" seamlesstabbing="false" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
Helpline:

Code: Select all

National Geographic: [Ng]ID of the video[/Ng]
Here is how you can find the ID:
http://video.nationalgeographic.com/vid ... and-squid/octopus_giant_kills_shark.html
Example:

Code: Select all

[ng]octopus_giant_kills_shark[/ng]
Demo:
[ng]octopus_giant_kills_shark[/ng]
kahuna
BBCoder II
BBCoder II
Posts: 6
Joined: 03 Apr 2010, 17:21

Re: National Geographic Video BBCode

Post by kahuna »

This site has a NEW Embed code for its videos and the new Videos won't work with the old BB code format. Here is an example of the new embed code:

Code: Select all

<embed src="http://video.nationalgeographic.com/video/player/swf/ngplayer_syndicated.swf" flashVars="slug=antarctica-black-penguin-vin&img=http://video.nationalgeographic.com/video/player/media/antarctica-black-penguin-vin/antarctica-black-penguin-vin_480x360.jpg&vtitle=Mutant%20All-Black%20Penguin%20Found&caption=March%2016%2C%202010%2C%202010%u2014National%20Geographic%20Traveler%20contributing%20editor%20Andrew%20Evans%20recently%20spotted%20and%20filmed%20an%20all-black%20king%20penguin%u2014a%20very%20rare%20mutant%u2014on%20the%20sub-Antarctic%20island%20of%20South%20Georgia.&permalink=http://video.nationalgeographic.com/video/player/news/animals-news/antarctica-black-penguin-vin.html&share=true" name="flashObj" width="460" height="321" seamlesstabbing="false" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.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: National Geographic Video BBCode

Post by cisco007 »

the demo in first post is still working, but if you want the new html replacement try this!

Code: Select all

<embed src="http://video.nationalgeographic.com/video/player/swf/ngplayer_syndicated.swf" flashVars="slug={IDENTIFIER}&img=http://video.nationalgeographic.com/video/player/media/{IDENTIFIER}/{IDENTIFIER}_480x360.jpg&vtitle=&permalink=http://video.nationalgeographic.com/video/player/news/animals-news/{IDENTIFIER}.html&share=true" name="flashObj" width="460" height="321" seamlesstabbing="false" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: National Geographic Video BBCode

Post by Stoker »

Thanks, I have updated the HTML
Board rules! No PM support
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: National Geographic Video BBCode

Post by Bullseye »

May I ask permission to install this on my site?

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

Re: National Geographic Video BBCode

Post by cisco007 »

that is what the bbcodes on this site are for!
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: National Geographic Video BBCode

Post by Bullseye »

Fair play, thought I'd just ask :)

Thank you :D
User avatar
kevinviet
BBCoder III
BBCoder III
Posts: 123
Joined: 06 Mar 2010, 04:52

Re: National Geographic Video BBCode

Post by kevinviet »

Thanks for the BBcode, how do I adjust screen bigger ? like width 725 and height 550

Thank you
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 853
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: National Geographic Video BBCode

Post by Steve »

change this part in the html,
Find:

Code: Select all

width="460" height="321"
relpace with:

Code: Select all

width="750" height="550"
have a play with the sizes if looks odd.
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
kevinviet
BBCoder III
BBCoder III
Posts: 123
Joined: 06 Mar 2010, 04:52

Re: National Geographic Video BBCode

Post by kevinviet »

Thanks vectra-mod, I did that too but it looked odd.
321.jpg
Locked