How to incorporate an external video you tube in a clip

Hello

I have the code of work following that puts you tube video on the stage, but how I embed him in a clip?

code

Security.allowDomain ("www.youtube.com");

var my_playerbject;

var my_loader:Loader = new Loader();

my_loader.load (new URLRequest ("http://www.youtube.com/v/CtOj8kpLIlI?version=3"));

my_loader.contentLoaderInfo.addEventListener (event. INIT, onLoaderInit);

function onLoaderInit(e:Event):void {}

addChild (my_loader);

my_player = my_loader.content;

my_player.addEventListener ("onReady", onPlayerReady);

}

function onPlayerReady(e:Event):void {}

my_player. SetSize (640,360);

my_player.cueVideoById("CtOj8kpLIlI",0);

}

end of the code

Thank you

Chances are you just need addChild it to the movieclip instead of the place where do you now...

yourMC.addChild (my_loader);

Tags: Adobe Animate

Similar Questions

  • Add the video You Tube

    Is it possible to link to a YouTube video and only see the video and block the rest of You Tube?

    Currently I have a button that opens You Tube a different browser. Works very well, but I don't want people going off and navigate through You Tube.

    Or is there a way to incorporate a you tube video on a slide?

    I also I have access to the .wav file, it would be a better option?

    Thanks in advance

    Choose Insert/interactions in the menu bar, scroll to the bottom and there is an interaction of YouTube.

  • Very slow download music VIDEO, you tube

    You tube extra slow without warning, I've tried everything for 4 weeks now

    Hello

    1. what web browser are you use and which operating system is installed on the computer?

    2. the problem occurs with all the videos that you play through YouTube?

    If YouTube is buffering means that the video is not sent to your computer quite quickly. This may be due to a slow internet connection, sharing the connection with multiple computers, or if you also download other files at the same time.

    I suggest you to update flash and java and check if it helps.

    http://get.Adobe.com/flashplayer/

    http://www.Java.com/en/download/index.jsp

    Also update the graphic card drivers.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Reference: http://www.google.com/support/youtube/bin/answer.py?answer=56115

    It will be useful.

  • How to use an external video monitor for just the image being set?

    I would use my external HD monitor as a single image display in Photoshop that I adjust

    the image, similar to what I do in Final Cut Pro to display full screen of the external video monitor. 

    Anyone have to do this?  rather than simply dragging the full interface of the PS to the external monitor,

    and stretching on to fill the screen on the larger screen?

    Duh!  Now I feel real stupid.  The solution was very simple for me, using my MacBook Pro, Intel processor

    OS 10.8.5, with outputs of Mac screen, through to DVI converter, feed my Dell HD 1920 X 1200 monitor.

    There is no instructions for it, but I just click and drag in the "document" tab in the public Service

    Center the window interface and drag it on my external monitor.  And the controls, settings, et al.,.

    work therefore monitor on the image in the external hard drive.  And Mac do rotations display preferences

    for this monitor for my vertical images.  Your Dah!

    Thanks for all your comments, folks!

  • Border animated - video You tube does not support in Mozilla Firefox?

    Hello

    I have embed code below on the edge animated youtube video in the browser. This code is working fine in IE, Chrome and other browser. But this code does not work in Mozilla firefox.

    Here is the code:

    var youtubevid = $("< iframe/>");

    SYM.$("vContainer"). Append (youtubevid);

    youtubevid.attr('type','text/html');

    youtubevid.attr('width','425');

    youtubevid.attr('height','350');

    youtubevid.attr ('src','http://www.youtube.com/embed/ZHUjDWpHJvU'); / / url/Video_Id

    youtubevid.attr('frameborder','0');       // 1 | 0

    youtubevid.attr('allowfullscreen','0');   // 1 | 0

    Please help me...

    Thank you

    E. Kumar Muduli

    Sonja,

    I think I can help, first of all why the Panel is not clickable in FF.

    I'm guessing that you have created your video symbol by a drawing canvas, and then convert to symbol.

    The area you created becomes an invisible barrier when you convert it to a symbol.  The solution is to go to your video symbol and resize the area of 1px x 1px, then place it in the upper left corner at 0,0 position. This should solve the problem by clicking on.

    Regarding playback when appears not, I find the solution has been to use the feature. empty(). I posted my code above my sample of CreateDeleteYoutube.  You can download it to see how I did the job.

    Hope this helps!

    Brandon

  • No sounds of videos - you tube etc and a few games.

    I had a virus attack last week when my AVG expired. I now supported McAfee bt verizon. After infection, I heard a radio or television in the background which I do not turn on. That the sound went away one day after McAfee has been installed, but now I can't hear all the videos from YouTube etc.. My pickups are fine, I can hear those. I have real player, adobe flash and installed Verizon Media Manager. How can I fix it?

    Hi BeulahBrown,
     
    -Can agree on other sites other than Youtube?
     
    Follow the steps listed in the article given below to resolve this issue:
  • How to incorporate music or video in Muse

    Can music (files mp3 and video be embedded in a page of muse?

    Hello

    Please refer to this topic, Re: how to integrate the audio (MP3) in muse?

  • How can I get you Tube videos to play in Firefox? All I get is a black screen.

    YouTube won't play video. Flash already on my PC game videos, they just do not when I connect You Tube.

    I installed Flash version 10 and videos played on You Tube website, but wouldn't on my PC.

    I installed Flash player 11 with bug fix and now they will not play on You Tube but they do on my PC.

    You can check the problems caused by a recent update of Flash 11.3 and possibly upgrade to Flash 11.2 or 10.3.

    Try disabling hardware acceleration in Firefox.

    Try to "disable hardware acceleration" in the Flash Player.

    See also:

    Blink the window "display settings":

  • How can I get the videos on you tube for the best resolution when I use firefox?

    My son has a laptop dell and watch and download videos on you tube and love it using firefox, but he has to turn the resolution to be able to do these things is possible to fix this?

    A possible solution may be update the video plugin or update your graphics driver as he may be too outdated.

  • I lost my Freecorder toolbar, what happened to her? I couldn't have you tube videos, plus download engine

    When I downloaded the latest version of Firefox, the missing Freecorder toolbar, now I can't download videos from you tube. How can I restore it to the Firefox browser...? I used the toolbar Freecorder for download videos from YouTube, convert flv to mp3 and mpg files files that I can use on a DVD player and other media players...

    Hello

    Sorry about your problems. I did a search on our Web site and found this thread which seems to be about the same problem: https://support.mozilla.org/questions/924033

    It also looks like a solution to the problem was posted there. I hope it helps you too!

    See you soon,.
    David

  • can not watch videos on you tube in firefox4 using flash player11

    I use firefox 4 and I can't watch videos on you tube. I updated and reinstalled adobe flash drive twice with no result. I also tried the other controls, safety block, cache, pop ups etc works fine on IE. Hope someone has a solution. I've always liked firefox but not the most recent versions and a lot of changes.

    I can't believe that you're still under Firefox 4. Why not a newer version?

    There are a number of active threads on the latest Flash player plugin (11.3) and the latest Firefox (12-13). Not all users have the same problems, but things to check are the following:

    -Conflict with the Realplayer browser Record plugin (to disable this, open the modules from the orange Firefox button or the menu classic tools and look under the categories of Extensions and Plugins)

    -Conflict with Flash 11.3 Protected Mode (see Adobe Forums: how to disable the safe_mode of Flash Player for Firefox?)

    Sweeping down from the front of the forums will probably give additional suggestions: https://support.mozilla.org/en-US/questions

    This seems promising.

  • NETGEAR wndr3400v3 can not play you tube videos

    Hello, I have recently set up my router wndr3400v3. Everything works well with the exception of not being able to watch videos tube.

    When we try on any of our devices... phones, iPad, computers laptops you tube time limit and do not play. Not sure if I missed something in the configuration. Any thoughts would be appreciated. We have a wireless setup using ed as our provider.

    Hello @tigertribe

    Welcome to the community!

    You had nothing under block sites do you have?

    How about no matter which set of Parental controls?

    If still nothing, I suggest that you reset the router and everything again.

  • How can I change my name to You Tube of AYTe812 in my name of Koelbli

    I chose the name of AYT812 to store all my you tube for the following reasons that she is on top. Y and T for you-Tube 812 for August 2012

    But now when I try to share some Youtubes by e-mail that they seem to end up in the Junk section of the receiver. So I would like to that Exchange to one of my names so that it is recognizable to the system and did not send it to the junk of the receiver. How can I do this?

    Hi, Michael,

    It's Microsoft Community where we are dealing with questions / answers on Microsoft Products.

    You could ask the recipients of these videos to add you to their contact list

    Contact the Youtube Support

    http://support.Google.com/YouTube/bin/answer.py?hl=en&answer=55758

  • Download You Tube videos in mode full screen

    How can I download videos from You Tube in full-screen mode with Chrome

    J, with your help if necessary, finally, I was able to clear up the problem of the video format on IE and can now get the Favorites to display large size that I imported chrome. Thank you very much for your patient and useful responses to my questions.

    And... Oops! I made a mistake in saying that Firefox might not be a good download for me. Stupidly, I mixed up to the top of my names of browsers.

    LTA

    ===========================================
    You are welcome and thank you for the comments.

  • How can I transfer photos & videos of windows for an external diving Photo Gallery?

    How can I transfer photos & videos of windows to a pilot Photo Gallery external campaigns?

    Something to try...

    When connected to your PC via USB external drive
    should be recognized at... Start / computer... with a drive
    letter.

    My external Western Digital is recognised as: My Book (k)

    In Windows Live Photo Gallery... right click a thumbnail
    or a selected thumbnail and in the menu group...
    choose... Copy.

    Then go to... Start / computer... right click on the drive letter
    that represents your drive, then in the menu...
    choose... 'Stick '.

    ==

    If you go directly to your folder of images to transfer the
    files... When you right-click the selected (highlighted)
    inches or a complete... the menu will have a
    option "send to" and you can choose the drive letter
    the external drive.

Maybe you are looking for