A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Embeding a NON YouTube Video into a Flash Website

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    10

    Embeding a NON YouTube Video into a Flash Website

    Ok, so I have designed a site completely with AS2 and just recently came to this problem. I need to have a video from another website load on mine but I don''t have the raw file. The following is the embed code from the original posting on the other site.
    HTML Code:
    <object width="460" height="385" id="limelight_player_638565o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="http://video.limelight.com/player/loader.swf"/><param name="wmode" value="window"/><param name="allowScriptAccess" value="always"/><param name="allowFullScreen" value="true"/><param name="flashvars" value="autoplay=true&amp;shareCurrent=media%2Cchannel&amp;playerForm=970b04aff67e429cb368c5d19cfb9a39&amp;adConfigurationChannelId=6b751b7ab5c144a4a1f5a0ec239383a4&amp;autoSkipNextClip=false&amp;mediaId=20d7adc57ac54b65980831f74563e61b&amp;share=link%2Cemail%2Cembed"/><embed src="http://video.limelight.com/player/loader.swf" name="limelight_player_638565e" wmode="window" width="460" height="385" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" flashvars="autoplay=true&amp;shareCurrent=media%2Cchannel&amp;playerForm=970b04aff67e429cb368c5d19cfb9a39&amp;adConfigurationChannelId=6b751b7ab5c144a4a1f5a0ec239383a4&amp;autoSkipNextClip=false&amp;mediaId=20d7adc57ac54b65980831f74563e61b&amp;share=link%2Cemail%2Cembed"></embed></object>
    Is it somehow possible using this to have the video load on my flash site or do I have to get the footage from them to get it to load due to protection or something?

    Thanks

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Not sure what you mean really, but this works for me, IE and Firefox
    HTML Code:
    <!--[if IE]>-->
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="460" height="385" id="limelight_player_638565o">
    <param name="movie" value="http://video.limelight.com/player/loader.swf"/>
    <param name="wmode" value="window"/>
    <param name="allowScriptAccess" value="always"/>
    <param name="allowFullScreen" value="true"/>
    <param name="flashvars" value="autoplay=true&amp;shareCurrent=media%2Cchannel&amp;playerForm=970b04aff67e429cb368c5d19cfb9a39&amp;adConfigurationChannelId=6b751b7ab5c144a4a1f5a0ec239383a4&amp;autoSkipNextClip=false&amp;mediaId=20d7adc57ac54b65980831f74563e61b&amp;share=link%2Cemail%2Cembed"/>
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="http://video.limelight.com/player/loader.swf" width="460" height="385">
    <param name="movie" value="http://video.limelight.com/player/loader.swf"/>
    <param name="wmode" value="window"/>
    <param name="allowScriptAccess" value="always"/>
    <param name="allowFullScreen" value="true"/>
    <param name="flashvars" value="autoplay=true&amp;shareCurrent=media%2Cchannel&amp;playerForm=970b04aff67e429cb368c5d19cfb9a39&amp;adConfigurationChannelId=6b751b7ab5c144a4a1f5a0ec239383a4&amp;autoSkipNextClip=false&amp;mediaId=20d7adc57ac54b65980831f74563e61b&amp;share=link%2Cemail%2Cembed"/>
    </object><!-- [End !IE flash embed] -->
    </object><!-- [End IE flash embed] -->
    you may need to ask permission from them if that's what you mean, look on their site about hot linking and using their vids!!

  3. #3
    Junior Member
    Join Date
    Jul 2013
    Posts
    10
    fruitbeard: Unless I am mistaken there is no way or place I can just paste the html embed code I pasted above into a site that is a flash site. And when I say Flash site I don't mean a site with flash elements but a site that has been completely built in flash.

  4. #4
    Junior Member
    Join Date
    Jul 2013
    Posts
    10
    Here, this tutorial is closest to what I am trying to accomplish: http://www.youtube.com/watch?v=-Y26X3-p_QY

    The problem is I am not using a YouTube video as shown, but limelight instead it would appear.

  5. #5
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Basically the guy has just found out the address to some youtube videos and copied them over into his loadMovie command, so you must find these addresses and do the same, or capture the videos using some flv downloader software, I was looking through limelight and the links you have, the videos seem pretty embedded.

    The closest I got to anything at all was this

    System.security.allowDomain( 'http://video.limelight.com/' );
    loadMovie("http://video.limelight.com/player/loader.swf?mediaId=20d7adc57ac54b65980831f74563e61 b",this);

    or


    System.security.allowDomain( 'http://s.delvenetworks.com' );
    loadMovie("http://s.delvenetworks.com/deployments/flash-player/flash-player-5.11.4.swf?mediaId=20d7adc57ac54b65980831f74563e61 b",this);

    no space between last 1 and b of url

  6. #6
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    I already made this for my church library's website. The only issue is chrome not showing the video, because chrome use a bult-in version of flash player called Pepper Flash...in orther to view the video, you have to navigate to chromelugins, and disable the pepper flash, and enable there Adobe flash player, but that's not practical. I have to give it a try now to see if chrome had addressed this issue. In the meanwhile, i will be working on it these days, to see if I can achieve it with AS3. I will post the AS3 code so you give it a try too
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Tags for this Thread

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center