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/c/258EA3637F3467BD/7/PUt7Kw9Q_Qc
Even if I take off the scaling, it still has the black bars. How do I get rid of them?

So basicly your putting a video in to your flash project

Similar Messages

  • Embedding YouTube video In Flash

    Hi guys,
    Could someone please advise me how to embed a YouTube video file in particular place of my Flash project, should I do this in action panel or in final html file.
    Here is exactly what I'd like to do: On this website www.aye-aye-media.com under 'Film' panel I have some movie samples, and after clicking buttons on right side I'd like to play embedded YouTube clips instead of flv.samples uploaded to my ftp. as it takes too long for customers to download them
    Thank you in advance
    Dom

    Thanks Christopher,
    I was thinking about it, meanwhile I'm still trying to do it the way I suggested. I'm able to embed the clip but just not in the right place, just don't know where to paste the code, I thought perhaps there is a command in ActionScript to sort this out
    Cheers

  • Embedded Youtube videos not working on Chrome 23 / Flash player 11.5.31.2

    For the past couple of weeks, I've not been able to play any Youtube videos that appear as embedded videos on other websites.  The small player appears with the still frame from the video and all the controls, but on pressing play, the video goes blank and won't play (the slider stays stuck at 0:00).  Nor does the full screen button work - the player just stays where it is within the third party website.  This problem has occurred across more than one website, but all sites still work in Internet Explorer.
    The main Youtube site is still working.
    I have tried all relevant steps here, to no avail (except increasing memory for a particular website, since not just one website is affected):
    http://helpx.adobe.com/flash-player/kb/flash-player-games-video-or.html
    Details:
    Windows 7 Home Premium 32-bit
    Google Chrome 23.0.1271.64 m
    Flash Player 11,5,31,2
    Any suggestions please?
    John

    Thank your for your reply, Chris.
    I installed the newest version of Chrome, and the videos I have
    embedded on my blog are now working.
    Regards,
    Frank
    2012/11/30, Chris Campbell <[email protected]>:
    Chris Campbell http://forums.adobe.com/people/chris.campbell created the
    discussion
    "Re: Embedded Youtube videos not working on Chrome 23 / Flash player
    11.5.31.2"
    To view the discussion, visit:
    http://forums.adobe.com/message/4885375#4885375

  • Bug with embedded youtube videos?

    hi, I've done a fair amount of searching around and haven't
    found any solutions.
    What happens is when I browse to a page with an embedded
    youtube video, I get the 'A script in this movie is causing Adobe
    Flash Player 9 to run slowly.'. I get the same error with either FF
    2.0.0.13 or IE 7.0.5730.11, using Flash 9.0.124.0. Naturally
    everything in the browser grinds to a complete halt.
    The weird thing is this only happens if I scroll down the web
    page to where the video actually is embedded. Otherwise everything
    works fine.
    Using other Flash applications, watching Youtube, and so on
    are fine as well.
    I'm on Windows XP SP2.
    This only started happening in the last week or so.
    Any ideas?

    attached screenshot

  • Flash Player w/embedded YouTube videos in PPT 2010

    Embedded YouTube video won't play in PPT2010; error message says newer version Flash player needed (newest alreadt installed).

    Yes, I have the latest version installed.  I finally discovered yesterday that evidently YouTube has made a change to their coding in the past week, and there is now a double entry of code that I must delete before the embedding works correctly ... at least until there is a fix.  Thanks.

  • Firefox 3.6.3 wont play embedded youtube videos. It comes up with "an error occured please try again later. this happens all the time

    Firefox 3.6.3 wont play embedded youtube videos. It comes up with "an error occurred please try again later. this happens all the time. If you click to go to youtube the clip plays.
    == This happened ==
    Every time Firefox opened

    I was having the same issue up until I found a solution myself a few minutes ago. If you have "Accept Third Party Cookies" un-checked it will not allow the embedded "Third party" youtube videos to load. You can either Check the box to allow third party cookies or add an exception to allow youtube.com WITHOUT the www. You just want it to be Youtube.Com.
    To do so just go to Tools: Options: Privacy: Exceptions: Type in Youtube.com and click Allow. Then click Close and OK. It should start working immediately.

  • Error with embedded Youtube videos on website pages

    On websites that have embedded Youtube videos, I no longer see a still shot of the video , nor do they have a button to allow me play them. Instead I see I message in the box where the video should be, that says "a plugin is needed to display the content". This must be related to a setting I messed up, because a few days ago I didn't have this issue. I would appreciate some guidance. Thanks

    attached screenshot

  • Embedded YouTube videos not working

    Hello,
    Embedded YouTube videos used to work fine up until a few days ago but they have stopped working in all browsers. I use Safari, Firefox and Netscape Navigator.
    I am using Mac OS X (10.6.3) and have just conducted a software update and installed a fresh version of flash. This can't be a browser problem because it is not working on any of the browsers. I am having problems viewing embedded YouTube videos on such sights as Blip.fm, Facebook, etc but they used to work fine a couple of weeks ago.
    Is this a problem with flash? or Mac OS X?

    Another me too. In particular the symptoms are this:
    + any YouTube video embedded within a webpage loads the poster frame and the controls, but after clicking the play button only shows the progress indicator briefly before showing "An error occurred, please try again later." within the video frame.
    + the same YouTube videos play fine on the YouTube site.
    + other Internet video plays fine, embedded or not.
    + when the error occurs Safari reports "One error in opening the page. For more information, choose Window > Activity".
    + the Activity window shows "forbidden" for http://v13.lscache4.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2 Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dWSVhMVV9FSkNNNl9QRllH &fexp=900028&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1 274817600&key=yt1&signature=C15947474FA80C9A1B9DA597103C5FF7D621A478.0C1490DE456 5D519F602B0043A4E1F9D800417A0&factor=1.25&id=c3e8886e8b459334
    + the same URL downloads fine when visiting YouTube directly, except the signature value is different.
    I have tested the following:
    + the same computer worked fine a week or so ago
    + other computers on the same shared ADSL connection work fine
    + Firefox works fine (contrary to other's experiences)
    + deleting com.apple.Safari.plist doesn't help
    + disabling/enabling the "Enable Plug-ins" preference doesn't help
    + deleting Preferences/Macromedia folder doesn't help
    + reinstalling Flash doesn't help
    + empty cache doesn't help
    Tis quite perplexing.

  • Embedded YouTube videos do not play on my Mac Mini

    Embedded YouTube videos don't play in non-YouTube web pages.  I can click the link in the top of the video to be taken directly to YouTube, and I can watch the video there, but when I click the big Play button in the middle of the video window, I just get a black rectangle.
    I tried uninstalling Flash player as suggested in another thread, rebooted my machine, and reinstalled Flash player, but that did not fix the problem.  This is a non-Flash player problem that Apple should look into.  I have not tried this on other browsers to see if I have the same problem there or not, as I do not use other browsers besides Firefox.  I would rather not have to use another browser just so that I can watch embedded YouTube videos.  I would prefer if Apple (or another knowledgeable user) can post the solution to the problem.  Thanks!

    In Firefox, click Tools>Add-ons. Make sure the Shockwave Flash plugin is enabled and "Always activated".
    If that fails, see: How to perform a "clean install" of Flash Player in Mac OS X  in the Adobe Forums. That will clear out the pluigins and allow a fresh install with the new plugin.

  • Embedded YouTube videos don't work on Safari on the iPhone.

    Sometime after June 15, 2013, embedded YouTube videos stopped working on web pages on Safari on the iPhone (iOS6).   They work on Safari on the Mac and they work in the iOS YouTube app.   I see the preview frame and the play button, but when clicking the play button, the frame goes black and nothing ever plays.    This worked up until 6/15 and the pages haven't changed.      Did Apple do something to stop them from working on the iPhone recently?

    You may have turned off an option in Flash preferences to not allow sites to store Flash cookies on your machine. Some videos made in Flash and served from third-party (non-YouTube) pages expect to be able to store Flash cookies, so the videos may not work with this Flash option turned off.
    Go to [https://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html Flash Global Storage Settings Panel] which is served from Adobe/Macromedia's site and check the "Allow third-party Flash content..." box, and the box for "Store common Flash components..." where you can then manage sites you have already visited. You'll have to reload the video page after you change this setting.
    Also, leave site feedback on those sites where you experienced the problems encouraging them to use HTML5 for serving video content instead of the proprietary Flash format.

  • Update fails and Embedded Youtube videos doesn't load

    Problem 1: All update (beta, RC) fails in my computer. After download, when I click in apply button, Firefox closes and a process "firefox.exe"starts with (~2.800 kB) and nothing happens. Every time and every versions in my 2 computers (Vista and Seven). It occurs since ~10 version (9, 10, 11... i don't remember.
    When I download the exe from Mozilla, the update works.
    Problem 2: Since the ~10 version or flash version, mostly embedded youtube videos doesn't load in firefox (in all pcs again). In youtube site it works, but embedded only shows a black square. In Google Reader it occurs all the time.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    If there are problems with updating then best is to download the full version of the Firefox installer.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 15.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    *http://kb.mozillazine.org/Installation_directory
    Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Safari stop playing embedded youtube videos

    Hi
    I am having trouble with Safari 4.0.5 (6531.22.7) which suddenly refuse to play embedded youtube videos. Safari show the video in a web page but when played the youtube default play display "an error occurred, please try again." and Safari display in the status bar "one error in opening the page, for more information, choose Window->Activity". Now when I look in the activity window it show "forbidden" beside the video file.
    Strangely I can play the same video from the youtube main page without any errors.
    I have already done the following:
    - checked permissions with Disk Utility.
    - Reset Safari
    - Empty caches
    - Removed com.apple.Safari.plist
    - Uninstalled, re-Installed Flash plug-in
    but the problem still persist. Help in resolving will be highly appreciated.

    HI and Welcome to Apple Discussions...
    YouTube streams content using the Flash plugin ... Flash Player support on 64-bit operating systems
    Since you are running Snow Leopard, *try running Safari is opening in 32-bit mode, not 64*. Right or control click the Safari icon in the Applications folder, then click: Get Info In the Get Info window click the black disclosure triangle next to General so it faces down. Select 32 bit mode. Also, (in that same window) *make sure Safari is NOT running in Rosetta.*
    

Web pages now include a small icon or 'favicon' which is visible in the address bar and next to bookmarks. These icons take up disk space and slow Safari down. It is possible to erase the icons from your computer and start fresh. *To delete Safari's icon cache using the Finder, open your user folder, navigate to ~/Library/Safari/ and move this file "webpageIcons.db to the Trash.*
    bpageIcons.db to the Trash.*
    Carolyn

  • Cannot see embedded Youtube videos; I get a black screen

    So, embedded Youtube videos suddenly stopped working. I can still watch videos on the Youtube website just fine. Making an embedded video fullscreen also allows me to see it. I have seen an answer on another thread asking to try Safe Mode. Interestingly, disabling every add-on and plugin (besides Flash and Shockwave) does not fix the issue, but using Safe Mode, which theoretically does the same thing, fixes it :S
    The embeds are black screen, and when I hover the mouse over them I see the Refresh and HD buttons, but not the Youtube icon on the lower right. Clicking the lower right area still brings me to the Youtube website, so the button still works, just isn't visible. Reinstalling Waterfox and using a new profile do not fix the issue.
    I can't test the issue on Firefox because it has a long-standing problem of the Flash Player crashing constantly every second, which rendered it unusable and is the reason I switched to Waterfox in the first place (in which Flash does not crash).
    The troubleshoot information with all Waterfox add-ons disabled (which again, doesn't fix the issue, despite Safe Mode fixing it) can be seen by navigating to the "More system details" on the menu to the right.
    Thanks!

    I had disabled hardware accel in Waterfox and it didn't fix the embeds, but doing so in Firefox fixed them for Waterfox! Odd. It didn't fix the constant Flash Player crashing, though. Thanks for solving the embeds!

  • Embedded Youtube videos stopped working...

    hi all
    i've got a problem with a Flash website that has been driving me crazy.
    i have a Flash website that was built for us in late 2009, it uses ActionScript 2 and i have been maintaining it in CS3 on a Mac.
    the site is structured as a heirarchy of swf files, and loads XML files to specify text content, image locations, and Youtube videos.
    all this has worked fine until sometime in the past month or two. the problem now is that the embedded Youtube videos no longer load, although nothing has changed in the code. unfortunately i don't know exactly when the videos stopped loading.
    in the Activity Window of Safari i can see the URLs for the Youtube crossdomain file (http://i1.ytimg.com/crossdomain.xml), Youtube still for the video, and the Youtube player (http://s.ytimg.com/yt/swfbin/cps-vfl2P81QA.swf). however neither the still frame nor the player skin load.
    if i run the site directly from my hard drive (with my Flash Player security preferences set to allow the swf to access the internet), the videos do load and play, so i am guessing that it is some kind of security domain issue.
    if i run the site in Flash CS3 in debug mode, when i navigate to a video page, although the video loads and plays, i get lots of these warnings (i've edited the path and file name):
    *** Security Sandbox Violation ***
    SecurityDomain 'http://s.ytimg.com/yt/swfbin/cps-vfl2P81QA.swf' tried to access incompatible context 'file:///pathname/site.swf'
    i think the solution is probably fairly simple, however i don't know enough about ActionScript to figure it out...
    any help would be much appreciated!

    i should add that the same thing happens on three different servers, on Safari or Firefox, and on Windows or Macs, so it seems pretty likely that it is a change in either Youtube embedding or Flash Player that has broken the embedding...
    it's been doing my nut in that i can't find any reports of similar problems on the interwebs...

  • Embedded youtube videos will no longer play in Powerpoint 2010

    Since upgrading to Flashplayer 11, I can no longer play embedded youtube videos in powerpoint 2010.  I get the error message that I have to upgrade Flashplayer.  I have performed several clean installs, yet I continue to get the same error message stating that I have to upgrade Flashplayer.  How do I correct this?

    i know right here is one fix if u got 2010 powerpoint  youtube did some changes thats not compatable with it . 1 way around it that might work for you is within the use old embeded code  were it says version=3 change it # into 2 insted of 3. do this in both appeareances.
    example   <object width="1280" height="720"><param name="movie" value="http://www.youtube.com/v/1rcqwRgVvvw?version=3&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1rcqwRgVvvw?version=3&amp;hl=en_US" type="application/x-shockwave-flash" width="1280" height="720" allowscriptaccess="always" allowfullscreen="true"></embed></object>
    change the #3 to the #2 thats it. then paste it in your powerpoint insert video from web.

Maybe you are looking for