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

Similar Messages

  • 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

  • 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.

  • 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

  • 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.

  • How to add youtube video to flash

    I am still new to AS. Looking for a detailed tutorial/explanation on adding/embeding  a youtube video to flash.
    If anybody has a descent example that would work too. Also i would like the youtube video to play in the flash file.

    http://code.google.com/apis/youtube/flash_api_reference.html
    Quote from google api ref:
    Getting Started
    You can use a chromeless player or an embedded player in your  application. Both players support the same functions. However, the  embedded player displays standard controls, including a play/pause  button, a progress bar, a volume control, and more. The chromeless  player, on the other hand, does not display any controls, so you will  need to develop your own custom player controls in Flash.
    Loading the chromeless player
    If your application is using a chromeless player, use the  following URL to load the player in your application:
    http://www.youtube.com/apiplayer?version=3
    Loading the embedded player
    If your application is using an embedded player, use the  following URL to load the player in your application. In the URL,  replace the string VIDEO_ID with the 11-character YouTube video ID of the  video that the player will show.
    http://www.youtube.com/v/VIDEO_ID?version=3
    The
    Player  API demo lets you compare the two player
    http://code.google.com/apis/youtube/youtube_player_demo.html
    http://www.youtube.com/v/VIDEO_ID?version=3
    Heres some really quick code. You'll have to play with it but this will get you well under way:
    var myVideo:Loader = new Loader();
    Security.allowDomain("www.youtube.com");
    myVideo.contentLoaderInfo.addEventListener(Event.COMPLETE, showVideo);
    //myVideo.load(new URLRequest("http://www.youtube.com/apiplayer?version=3"));
    myVideo.load(new URLRequest("http://www.youtube.com/v/6U-sTcbZuq0&feature=rec-LGOUT-farside_rn-4r-1-HM" + "?version=3"));
    function showVideo(e:Event):void
         myVideo.x = stage.stageWidth * .5;
         myVideo.y = stage.stageWidth * .5;
         stage.addChild(myVideo);
    If you have any questions please let me know. Otherwise, please mark the question as answered Thanks,
    Jesse

  • 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

  • Need plug in to display embedded youtube videos in forums

    Since i installed mozilla (after pc format) i cannot see embedded youtube videos in my website. In fact, on every
    embedded video i get thisQ (see screenshot plz) http://gyazo.com/69469217f25d5e3f9b90d645fab7904b
    so which plug in is needed for this?

    Update your Flash Player '''Version 17.0.0.169<br>https://www.adobe.com/products/flashplayer/distribution3.html'''
    See if there are updates for your graphics drivers
    https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration

  • Why wont embedded youtube videos play on ipad

    why wont embedded youtube videos play on ipad

    Hi..
    Try troubleshooting the Flash plugin which is required for most YouTube cotent as well as other sites.
    Quit Safari.
    Open System Preferences > Flash Player then select the Storage tab. Click: Delete All
    Now uninstall the Flash plugin then reinstall new >  Troubleshoot Flash Player | Mac OS
    Very important to uninstall first.
    Launch Safari From your Safari menu bar click Safari > Empty Cache
    Now try a video.
    BTW... if you have the ClickToFlash extension installed, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
    And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to:  Open in 32 bit mode  is selected, deselect, quit then relaunch Safari.

  • 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...

Maybe you are looking for

  • Get all new messages does not work on all accounts

    I have several accounts set up. using "Get all new messages" works about 20 percent of the time. I have tried "repairing" all folders - no change tick to "include this server when getting new email" is greyed out All accounts pop off the same server,

  • JDBC Query Single Row service Parse Query

    Using JDBC Query Single Row service on an Oracle database, I specify a SQL statement like this: select abc, to_char(aDate, 'MM/DD/YYYY') from xyz where def = 123 then I click the "Parse Query" button to try to map the query results to my variables, b

  • Out of the blue without warning my iPhone to black!

    Without warning my 3G iPhone went to  black! I've been charging it  on a regularly  bases !  I charge it again and nothing happened! Any advice welcome!

  • New windows open in 'reversed' order in few apps [KDE4]

    When I have some application open (like browser or text editor) and I decided open a new instance of this application (by doing to File > New, for example), this new window is get places on Task Manager before the original one. Usually for me it was

  • Scanner driver mystery

    I recently downloaded a driver from Epson for my old Perfection 1260 scanner. I'm happy to report that Epson has recently updated this driver to run on Leopard. My scanner now works fine. But there is a mystery. The download included two applications