dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: embedding youtube video in flash with as2 - problem with black bars

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    10

    Unhappy embedding youtube video in flash with as2 - problem with black bars

    I have successfully embedded the youtube video in my flash code with:

    //create area to put youtube video on screen
    this.createEmptyMovieClip("reason1_video", 10000);
    reason1_video._xscale = 60;
    reason1_video._yscale = 60;
    this.reason1_video.loadMovie("http://www.youtube.com/v/PUt7Kw9Q_Qc?hd=1");

    However, the video plays with black bars on top and bottom even though it plays without those directly from youtube:

    http://www.youtube.com/parallelic#p/.../7/PUt7Kw9Q_Qc


    Even if I take off the scaling, it still has the black bars. How do I get rid of them? It seems like youtube uses a different player than flash.

    www.parallelic.com/lynne/test/container.html

    click on #1 and you will see the video I am talking about.
    Last edited by roundpaws; 03-21-2011 at 05:25 PM. Reason: forgot something

  2. #2
    Junior Member
    Join Date
    May 2007
    Posts
    10

    view the sample

    www.parallelic.com/lynne/test/container.html

    click on #1 and you will see the video

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