dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Help embeding a video.

  1. #1
    Join Date
    Apr 2012
    Posts
    2

    Help embeding a video.

    Hello everyone!

    Im having issues with embeding a video from nationalgeographic.com

    Im making a documentary streaming site, and ofc nat geo is a great resource for free online documentaries, so i really need this solved, and i just have no idea what to do, so i figured some of you braniacs might help me.

    Anyway, they have their own video player, and they provide embed codes below their videos ( see here: http://video.nationalgeographic.com/...-1/ngc-heroin/ )

    but when i paste that embed code on my website, video is not scaled accordingly and you can only see like half of the video, and cant see fullscreen and volume buttons:

    http://www.sofabrain.com/2012/03/26/drugs-inc-heroin/

    i hope you guys can help me, couse this is freaking me out, and there is just no answer on google i searched for DAYS!

    Cheers!

  2. #2
    Join Date
    Feb 2012
    Location
    Pensacola, FL
    Posts
    337
    Here.
    Code:
    <object id="ngplayer" width="470" height="289" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="scale" value="noscale" /><param name="wmode" value="opaque" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="flashvars" value="adenabled=&amp;caption=Follow&#37;20this%20dangerous%20drug%20as%20it%20begins%20in%20a%20remote%20Afghan%20heroin%20lab%20and%20witness%20a%20police%20raid%20on%20a%20heroin%20distribution%20network.&amp;img=http://natgeo.edgeboss.net/download/natgeo/channel/feed/371/783.jpg&amp;permalink=/video/national-geographic-channel/full-episodes/drugs-inc-1/ngc-heroin/&amp;share=false&amp;restricted=false&amp;siteid=syndicatedplayer&amp;slug=http://video.nationalgeographic.com/video/player/data/xml/ngc-heroin.smil&amp;vtitle=Heroin&amp;cuepoints=&amp;vwidth=610&amp;vheight=375&amp;autoplay=false&amp;" /><param name="src" value="http://images.nationalgeographic.com/wpf/sites/video/swf/ngplayer_v1.6.8.1.swf" /><embed id="ngplayer" width="470" height="289" type="application/x-shockwave-flash" src="http://images.nationalgeographic.com/wpf/sites/video/swf/ngplayer_v1.6.8.1.swf" allowscriptaccess="always" allowfullscreen="true" scale="noscale" wmode="opaque" menu="false" quality="best" flashvars="adenabled=&amp;caption=Follow%20this%20dangerous%20drug%20as%20it%20begins%20in%20a%20remote%20Afghan%20heroin%20lab%20and%20witness%20a%20police%20raid%20on%20a%20heroin%20distribution%20network.&amp;img=http://natgeo.edgeboss.net/download/natgeo/channel/feed/371/783.jpg&amp;permalink=/video/national-geographic-channel/full-episodes/drugs-inc-1/ngc-heroin/&amp;share=false&amp;restricted=false&amp;siteid=syndicatedplayer&amp;slug=http://video.nationalgeographic.com/video/player/data/xml/ngc-heroin.smil&amp;vtitle=Heroin&amp;cuepoints=&amp;vwidth=471&amp;vheight=287&amp;autoplay=false&amp;" /></object>
    Here is the key thing to look for: vwidth=471&amp;vheight=287

  3. #3
    Join Date
    Apr 2012
    Posts
    2
    HOLY SH*T! IT WORKS!

    I cant belive i missed that part though! thank you very much, that was quick!

    ...

    bro if you were next to mi i would hug you! Well ok maybe not hug you that would be gay, but i would definetely hi five!

    thanks once again, close thread, problem solved!

    fu*k im happy now!

  4. #4
    Join Date
    Feb 2012
    Location
    Pensacola, FL
    Posts
    337
    LOL No worries. If you got anything else, post it up.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center