Page 1 of 1

New Tags: BBC video embedding

PostPosted: Tue Jul 14, 2009 12:22 am
by Xerxes
How can I embed BBC News videos?

Due to the large number of up to date and current news videos on the BBC, the forum now supports the embedding of BBC videos. Unfortunately as there are some videos on separate systems, there are two BBCodes.

The new BBcodes are BBC and BBC2. Unlike with the youtube BBcode you must either enter the Embed code from the BBC site or the entire Object code (explained below)..

WARNING: THIS IS NOT THE EASIEST EMBED, HOWEVER IT IS A LOT EASIER THAN DOING IT BY HAND! ;)

Videos with "Embed Code":
Depending on the video in question, it may have the ability to be easily embeddable. For example, this is one such video: http://news.bbc.co.uk/1/hi/entertainment/8117955.stm. When you click on "Share", there is an option to "Embed". Click on "Copy Code" to get the entire embed code, and then make sure it has the correct tags surrounding it. Don't worry if the code is really long! :)

Code:
Code: Select all
[bbc]VIDEOURL[/bbc]


Example code and embed:
Example code:
Code: Select all
[BBC]<object width="512" height="400"><param name="movie" value="http://news.bbc.co.uk/player/emp/external/player.swf"></param><param name="allowFullScreen" value="true"></param><param  name="allowScriptAccess" value="always"></param><param name="FlashVars"  value="config_settings_showUpdatedInFooter=true&playlist=http://news.bbc.co.uk/media/emp/8110000/8117900/8117955.xml&config=http://news.bbc.co.uk/player/emp/config/default.xml?1.3.114_2.11.7978_8433_20090514110202&config_settings_language=default&config_settings_showFooter=true&config_plugin_fmtjLiveStats_pageType=eav6&config_settings_showPopoutButton=false&config_settings_showPopoutCta=false"></param><embed src="http://news.bbc.co.uk/player/emp/external/player.swf" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="512" height="400"  FlashVars="config_settings_showUpdatedInFooter=true&playlist=http://news.bbc.co.uk/media/emp/8110000/8117900/8117955.xml&config=http://news.bbc.co.uk/player/emp/config/default.xml?1.3.114_2.11.7978_8433_20090514110202&config_settings_language=default&config_settings_showFooter=true&config_plugin_fmtjLiveStats_pageType=eav6&config_settings_showPopoutButton=false&config_settings_showPopoutCta=false"></embed></object>[/BBC]


Preview:




Videos without the "Embed" option:
Unfortunately, not all BBC videos have the code for the embed as easy to get to. For example: http://news.bbc.co.uk/1/hi/england/8108297.stm. See below for method to get the code for the embed using Firefox and Firebug.

How to use use Firebug to get the embed code:

  1. Make sure you have Firebug installed (It will only work on Firefox). Firebug is a plugin that allows you to easily see the code for a website you are viewing. Firebug official site.
  2. If you definitely have Firebug installed and you are on the page of the video you want to embed (using the same video as above for the demonstration), click on the small yellow bug in the bottom right hand of your Firefox window (see the image below where it is labelled). This will bring up the Firebug pane (also labelled below).

    Image
  3. Click on the "Inspect" button on the top left of the pane that just came up.
  4. Now, when you hover your mouse over elements in the window, a blue border will appear. Don't panic!- this is meant to happen. :)
  5. Hover over the video and make sure that only the video is surrounded by the blue border (the border will touch the edges of the video).
  6. Right click on the video and then right click again on the blue text that has been selected on the Firebug pane at the bottom of the screen.
  7. Select "Copy HTML" from the menu that has appeared (see below). The embed code is now copied to the clipboard!

    Image
  8. Paste the embed code into the posting window on the forum- make sure it has the correct tag (bbc2) around it. You can now close the BBC tab you have been using, or press the "Close firebug pane" button.
  9. Voilá, you are done. Press submit to make your post public. :)


If you have any trouble with this, contact a moderator who will help you. :)

Code:
Code: Select all
[bbc2]VIDEOURL[/bbc2]


Example code and embed:
Example code:
Code: Select all
[bbc2]<embed width="512" height="323" flashvars="config_settings_language=default&amp;config=http://news.bbc.co.uk/player/emp/config/default.xml?1.3.114_2.11.7978_8433_20090514110202&amp;playlist=http%3A%2F%2Fnews.bbc.co.uk%2Fmedia%2Femp%2F8100000%2F8108200%2F8108297.xml&amp;embedReferer=&amp;embedPageUrl=/1/hi/8108297.stm&amp;config_settings_autoPlay=true&amp;config_settings_showPopoutButton=false&amp;config_settings_showUpdatedInFooter=true&amp;config_plugin_fmtjLiveStats_pageType=eav1&amp;config_plugin_fmtjLiveStats_edition=Domestic" allowfullscreen="true" wmode="default" quality="high" bgcolor="false" name="embeddedPlayer_8108297" id="embeddedPlayer_8108297" style="" src="http://news.bbc.co.uk/player/emp/2.11.7978_8433/9player.swf" type="application/x-shockwave-flash"/>[/bbc2]


Preview:



Help! It's not working!

  • Are you trying to embed with the correct code? (try the other code just in case)
  • Did you select ALL the embedded object code?
  • Does your code have the width option before the height one? If not, try swapping their position. :)

If you need any assistance, PM me or another moderator. :)

Re: New Tags: BBC video embedding

PostPosted: Tue Jul 14, 2009 2:29 am
by RazeRipz!
Good work Xerxes, keep it up and thanks for the help. *Sticky* :P

Re: New Tags: BBC video embedding

PostPosted: Tue Jul 14, 2009 8:19 am
by cowboyfromhell
Very useful information there.

Just remember this isn't the easiest embed code to use, so don't worry about asking one of us mods for a hand. :)

Re: New Tags: BBC video embedding

PostPosted: Thu Jul 30, 2009 11:34 pm
by Slippery Lizard
Could this get moved to annoucements with the others as it would be easier to find for new members etc?

Re: New Tags: BBC video embedding

PostPosted: Thu Jul 30, 2009 11:39 pm
by cerb
slippery lizard, its all under the guide to foruming in the member introductions and celebrations forum.

Re: New Tags: BBC video embedding

PostPosted: Thu Jul 30, 2009 11:53 pm
by Slippery Lizard
ah fair dos, i just i had seen this post but i couldnt find it, now all i have to do is look in my "view your post"! :D

Re: New Tags: BBC video embedding

PostPosted: Fri Jul 31, 2009 12:44 am
by BenJy!
Is there anything Xerxes can't do?... :lol:

Re: New Tags: BBC video embedding

PostPosted: Fri Jul 31, 2009 1:12 am
by SkullsY
BenJy! wrote:Is there anything Xerxes can't do?... :lol:


I do believe there isn't. :D.

Re: New Tags: BBC video embedding

PostPosted: Fri Jul 31, 2009 2:00 pm
by Mickey Stirup
that crazy xerxes!

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 1:50 pm
by Slippery Lizard
Hi guys, im having a bit of trouble with embedding using this method! im doing everything in the first post and it just doesnt seem to work! ive managed to embedd a video from the bbc before and ive followed the same steps as before but i have had no luck this time! any help would be appreciated! The spolier is show the code for the video i want to embed but it does nothing!




[BBC2]<embed id="embeddedPlayer_8379585" width="512" height="323" allowfullscreen="true" allowscriptaccess="always" wmode="default" quality="high" flashvars="embedReferer=http%3A%2F%2Fnews.bbc.co.uk%2Fsport&embedPageUrl=http%3A%2F%2Fnews.bbc.co.uk%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&config_settings_language=default&config_settings_skin=black&config=http%3A%2F%2Fnews.bbc.co.uk%2Fplayer%2Femp%2Fconfig%2Fdefault.xml%3F2.18.13034_14207_20091118114410&domId=emp_8379585&playlist=http%3A%2F%2Fnews.bbc.co.uk%2Fmedia%2Femp%2F8370000%2F8379500%2F8379585.xml&holding=http%3A%2F%2Fnewsimg.bbc.co.uk%2Fmedia%2Fimages%2F46803000%2Fjpg%2F_46803894_f1_v2_512.jpg&config_settings_autoPlay=true&config_settings_showPopoutButton=false&autoPlay=true&config_plugin_fmtjLiveStats_pageType=eav1&config_plugin_fmtjLiveStats_edition=Domestic&fmtjDocURI=%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&config_settings_showUpdatedInFooter=true" src="http://news.bbc.co.uk/player/emp/2.18.13034_14207/9player.swf?revision=11798" type="application/x-shockwave-flash"/>[/BBC2]

[BBC]<embed id="embeddedPlayer_8379585" width="512" height="323" allowfullscreen="true" allowscriptaccess="always" wmode="default" quality="high" flashvars="embedReferer=http%3A%2F%2Fnews.bbc.co.uk%2Fsport&embedPageUrl=http%3A%2F%2Fnews.bbc.co.uk%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&config_settings_language=default&config_settings_skin=black&config=http%3A%2F%2Fnews.bbc.co.uk%2Fplayer%2Femp%2Fconfig%2Fdefault.xml%3F2.18.13034_14207_20091118114410&domId=emp_8379585&playlist=http%3A%2F%2Fnews.bbc.co.uk%2Fmedia%2Femp%2F8370000%2F8379500%2F8379585.xml&holding=http%3A%2F%2Fnewsimg.bbc.co.uk%2Fmedia%2Fimages%2F46803000%2Fjpg%2F_46803894_f1_v2_512.jpg&config_settings_autoPlay=true&config_settings_showPopoutButton=false&autoPlay=true&config_plugin_fmtjLiveStats_pageType=eav1&config_plugin_fmtjLiveStats_edition=Domestic&fmtjDocURI=%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&config_settings_showUpdatedInFooter=true" src="http://news.bbc.co.uk/player/emp/2.18.13034_14207/9player.swf?revision=11798" type="application/x-shockwave-flash"/>[/BBC]


Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 1:52 pm
by Xerxes
It may be that they have altered the way it works- I'll have a look. :)

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 1:53 pm
by Slippery Lizard
Thanks!

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 1:56 pm
by Xerxes
EDIT: Code doesn't work: ignore!

I had to play around to get it in the same order as shown in the example up the top (unfortunately I can't do anything about that). :)

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 2:13 pm
by Slippery Lizard
what u saying? is it doing to be harder to embed these videos now?!?!? or are u having a go at me for not putting it in the code box?!?! lol

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 2:23 pm
by Xerxes
No, I managed to get it working but it seems that it will only happen if you have two BBC2 tags. I'll have an investigation. :)

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 2:26 pm
by Slippery Lizard
ah right! i understand now! thanks!

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 2:28 pm
by Xerxes
Can you send me the link to the page you got that from? :)

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 2:43 pm
by Slippery Lizard
yeh sure, thougth u would need tht! http://news.bbc.co.uk/sport1/hi/motorsp ... 379585.stm

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 2:54 pm
by Xerxes
Code: Select all
[bbc2]<embed width="512" height="323" flashvars="config_settings_language=default&amp;config=http://news.bbc.co.uk/player/emp/config/default.xml?1.3.114_2.11.7978_8433_20090514110202&amp;playlist=http%3A%2F%2Fnews.bbc.co.uk%2Fmedia%2Femp%2F8370000%2F8379500%2F8379585.xml&amp;embedReferer=&amp;embedPageUrl=/1/hi/8108297.stm&amp;config_settings_autoPlay=<embed&amp;embedPageUrl=http%3A%2F%2Fnews.bbc.co.uk%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&amp;config_settings_language=default&amp;config_settings_skin=black&amp;config=http%3A%2F%2Fnews.bbc.co.uk%2Fplayer%2Femp%2Fconfig%2Fdefault.xml%3F2.18.13034_14207_20091118114410&amp;domId=emp_8379585&amp;playlist=http%3A%2F%2Fnews.bbc.co.uk%2Fmedia%2Femp%2F8370000%2F8379500%2F8379585.xml&amp;holding=http%3A%2F%2Fnewsimg.bbc.co.uk%2Fmedia%2Fimages%2F46803000%2Fjpg%2F_46803894_f1_v2_512.jpg&amp;config_settings_autoPlay=true&amp;config_settings_showPopoutButton=false&amp;autoPlay=true&amp;config_plugin_fmtjLiveStats_pageType=eav1&amp;config_plugin_fmtjLiveStats_edition=Domestic&amp;fmtjDocURI=%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&amp;config_settings_showUpdatedInFooter=true" id="embeddedPlayer_8379585" src="http://news.bbc.co.uk/player/emp/2.18.13034_14207/9player.swf?revision=11798" type="application/x-shockwave-flash"/>[/BBC2][bbc2]<embed width="512" height="323" flashvars="embedReferer=&amp;embedPageUrl=http%3A%2F%2Fnews.bbc.co.uk%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&amp;config_settings_language=default&amp;config_settings_skin=black&amp;config=http%3A%2F%2Fnews.bbc.co.uk%2Fplayer%2Femp%2Fconfig%2Fdefault.xml?2.18.13034_14207_20091118114410&amp;domId=emp_8379585&amp;playlist=http%3A%2F%2Fnews.bbc.co.uk%2Fmedia%2Femp%2F8370000%2F8379500%2F8379585.xml&amp;holding=http%3A%2F%2Fnewsimg.bbc.co.uk%2Fmedia%2Fimages%2F46803000%2Fjpg%2F_46803894_f1_v2_512.jpg&amp;config_settings_autoPlay=true&amp;config_settings_showPopoutButton=false&amp;autoPlay=true&amp;config_plugin_fmtjLiveStats_pageType=eav1&amp;config_plugin_fmtjLiveStats_edition=Domestic&amp;fmtjDocURI=%2Fsport1%2Fhi%2Fmotorsport%2Fformula_one%2F8379585.stm&amp;config_settings_showUpdatedInFooter=true"allowfullscreen="true" allowscriptaccess="always" wmode="default" quality="high"  id="embeddedPlayer_8379585"src="http://news.bbc.co.uk/player/emp/2.18.13034_14207/9player.swf?revision=11798" type="application/x-shockwave-flash"/>[/bbc2]




It's not pretty, but it works- I will look at what's happening in more depth later. :)

Re: New Tags: BBC video embedding

PostPosted: Thu Nov 26, 2009 3:00 pm
by Slippery Lizard
thanks!