Embedding a youtube video

hey guys,
need the code to embed a few youtube videos and attaching pdf
file.
thanks a ton

Hi Little Helper
Perhaps you could provide more detail? What exactly do you
mean by "not working"?
* Does the player window not appear in the topic?
* Does the player window appear, but the video doesn't play?
* Does the topic cause an error when it is displayed?
We need more information before we will be able to help.
Colum, I believe the code presented is the way YouTube
suggests embedding a video on a web page so that you don't have to
navigate away from the page to watch the video. There is more at
this link.
Cheers... Rick

Similar Messages

  • Embedding a YouTube Video utilizing HTML Insert Crashes Muse Repeatedly

    Just today I have noticed when embedding a YouTube Video in Muse that it has begun crashing repeatedly. I cannot get the video to stay embedded to finish this project. Is there a bug or a work-around?
    Thank you.

    Please try using YouTube embed code with the "Enable privacy-enhanced mode" option checked. It appears this crash is being triggered by recent changes in how YouTube's embed code works. At least early evidence indicates turning the "Enable privacy-enhanced mode" option on when creating the embed code appears to change the behavior of the embed code enough to avoid triggering this crash within Muse.
    If you do try this, please report back to let us know whether or not setting this option enables you to avoid this crash. Thanks.

  • Embedding a youtube video problem

    i'm making a website in Edge Animate for a class project and am trying to embed a youtube video within it.
    here is my code:
    var youtubevid = $("<iframe/>");
    sym.$("video12").append(youtubevid);
    youtubevid.attr('type','text/html');
    youtubevid.attr('width','540');
    youtubevid.attr('height','315');
    youtubevid.attr('src','http://www.youtube.com/embed/_JY4ZV_fumU?rel=0');  // url/Video_Id
    youtubevid.attr('frameborder','1');       // 1 | 0
    youtubevid.attr('allowfullscreen','0');   // 1 | 0
    it's located within my stage, composition ready.
    my understanding was first i needed to create a rectangle symbol the size of the video and that's where the video is embedded. on my page I see the video but it appears the symbol is over top
    of the video so i can't play it.
    Any ideas?
    Thanks!

    Solved! I followed your suggest publishing the project as a Scorm package in my site and I noticed that the video was just showed for a second and then it disappeared. So I checked the duration time of the slide, setting it as long as the video duration and... that's all: it works! Thank you very much.

  • Embedding a youtube video in Powerpoint 2010 via a shockwave flash object

    We have a user, has found recently, when he adds a 'shockwave flash object'
    in Microsoft PowerPoint 2010, and adds a YouTube link, next to the
    "movie" field within the properties of the shockwave flash object, it
    will not show the YouTube video window (with the play button etc.) and will not
    play the video.
    The user thinks the current version of Adobe flash is causing this (version:
    14.0.0.145) and would be grateful if any staff from Adobe or anyone else has any
    ideas if this version does cause this problem and if there is a way to resolve
    it, or if a new release of Adobe Flash player will address this and if so when
    it will be released.
    Thanks,
    James

    Please ask your question on a forum for the Flash Player

  • Embedding a Youtube video link

    Hi to all. I am trying to embed a Youtube video link into my
    project. It is not working...any suggestions???? I am using
    RoboHelp 6

    Duplicate post. Click
    here
    for the other thread.

  • Embedding clipped Youtube video into Keynote on iPad?

    Is it possible to embed a clipped youtube video into a keynote presentation on the ipad? I know how to do it in Powerpoint, but that doesn't help me as I don't have powerpoint at home and am having to rely on trying to do it with Keynote on my ipad.
    Thanks!

    Two possibilities I can think of. MAke sure that the side button on your ipad is set to screen lock &amp; not mute. If it is set to mute, you'll need to slide it to unmute it before the speaker will work. Otherwise, it sounds like some kind of software glitch. I'd do a reset (I think you hold down the power button &amp; the button on the top for like 10 seconds, until you get the screen asking if you want to turn your ipad off. Follow through, give it a few seconds, then restart it.

  • Can I resize snippet embedding a YouTube video?

    Everytime I embed a YouTube video into my site, it shows the video in a standard size window. I was wondering if it was possible to resize that window to make it smaller.
    Thank you!

    Change the width and height in the code you copy/paste from youtube.
    Make sure the numbers are changed proportionally.

  • 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

  • Embedded Youtube videos not working in Chrome or Firefox?

    I have embedded some YouTube videos into Lightbox widgets and they play fine on IE and Safari but not on Chrome or Firefox. The poster of video shows but you can't click on it. Didn't know if Java Script was required but have it enabled on all Browsers.

    Hello,
    Could you please provide us a link where we can check the issue.
    You can also try Right clicking on the added HTML code>Arrange>Bring to Front and see if it resolves your issue.
    Regards,
    Sachin

  • After embedding youtube video, my audio players disapeared

    Hi,
    I embedded a youtube video (by editing the text file after exporting the iweb page to my desktop) on a page that also had audio players on it, and now the audio players don't show up. I tried repeating the process, with the hopes that something just got lost in translation, but no luck. Any help would be greatly appreciated!
    Simon

    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

  • Embeded Youtube video not displaying when scaled

    I'm embeding a youtube video using this method:
    var youtubevid = $("<iframe/>");
    sym.$("vcontainer").append(youtubevid);
    youtubevid.attr('type','text/html');
    youtubevid.attr('width','540');
    youtubevid.attr('height','380');
    youtubevid.attr('src','http://www.youtube.com/embed/YNuG2ZhVrDI?rel=0&autoplay=1'); 
    youtubevid.attr('frameborder','0');
    youtubevid.attr('allowfullscreen','0');
    This works fine.  But, as soon as I add the below code to scale the stage the video is just black(no controls either) but the audio plays.  Any idea why this would be happening?
    var stageHeight = sym.$('Stage').height(); // Set a variable for the height of the stage
    sym.$("#Stage").css({ // Set the transform origin so we always scale to the top left corner of the stage
    "transform-origin":"0 0",
    "-ms-transform-origin":"0 0",
    "-webkit-transform-origin":"0 0",
    "-moz-transform-origin":"0 0",
    "-o-transform-origin":"0 0"
    function scaleStage() {
        var stage = sym.$('Stage'); // Set a reusable variable to reference the stage
        var parent = sym.$('Stage').parent(); // Set a reusable variable to reference the parent container of the stage
        var parentWidth = stage.parent().width(); // Get the parent of the stage width
        var stageWidth = stage.width(); // Get the stage width
        var desiredWidth = Math.round(parentWidth * 1); // Set the new width of the stage as it scales
        var rescale = (desiredWidth / stageWidth); // Set a variable to calculate the new width of the stage as it scales
    // Rescale the stage!
         stage.css('transform', 'scale(' + rescale + ')');
        stage.css(  '-o-transform', 'scale(' + rescale + ')');
         stage.css('-ms-transform', 'scale(' + rescale + ')');
        stage.css('-webkit-transform', 'scale(' + rescale + ')');
         stage.css('-moz-transform', 'scale(' + rescale + ')');
        stage.css('-o-transform', 'scale(' + rescale + ')');
        parent.height(stageHeight * rescale); // Reset the height of the parent container so the objects below it will reflow as the height adjusts
    // Make it happen when the browser resizes
    $(window).on('resize', function(){
         scaleStage();
    // Make it happen when the page first loads
    $(document).ready(function(){
        scaleStage();

    Just curious why are manually scaling the stage when responsive scaling in available in Animate CC 3.0 itself?

  • Why haven't I been able to watch YouTube videos for months? :(

    I'm hoping someone might be able to shed some light on this issue I've been having...
    I have an older MacBook Pro (bought July 2007) running OS 10.4.11, that hasn't been able to access YouTube or YouTube videos for the past several months. When trying to access the website on Firefox or Safari, the page takes forever to load and I get the "Connection has timed out" error. I've tried loading it on several different wireless connections, none of which should have any firewalls/proxies set. Embedded YouTube videos don't show up (there's just a blank space where they should be), and embedded HD YouTube videos will show the first frame but will not load or play.
    I've never had any problems with YouTube before, but didn't turn my computer on between Feb and May of this year (I was traveling). I figured I must have missed some important update. But I'm currently running the most recent versions of Firefox (3.6.9) and Safari (4.0.3), Adobe Flash (10.1), Quicktime (7.6.4), and Java (v9 for OS 10.4). Updating these hasn't helped any. I also reinstalled Firefox entirely.
    I don't have any issues loading any other websites, or playing/viewing other kinds of embedded videos, or any other videos. As far as I can tell, my internet browsers don't have any firewalls or blocks set up. Other laptops and desktops on the same wireless connections I've tried can access the site and embedded videos without issue.
    Does anyone have any ideas as to what else I could try? I'd love to be able to get back on YouTube...
    thank you in advance!
    -Ann

    I understand that you can not access youtube website at all .. this can be due to a variety of reasons ..
    what you describe looks like a dns resolution error .. try this
    go to terminal and type
    sudo nano /Private/Etc/Hosts
    you will be prompted for your password ..enter it and note that your input won't be visible ..
    if all goes well you will see something like this :
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    if you see that try adding these lines EXACTLY AS YOU SEE underneath that page
    74.125.43.103 youtube.com
    74.125.43.103 www.youtube.com
    and press control and X together on your keyboard
    now back at the terminal type exit and hit return
    reboot your machine ..
    see how it goes
    hope this helps

  • 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

  • OOB Video Component to embed YouTube videos

    Hi,
    The OOB Video Component can be customized to use custom player, however there's no documentation which talks about the design_dialog of the video component.
    I have a requirement to show YouTube videos / 3rd Party Videos on a page (embeded & overlay) and I would like to know if I can use the OOB component. If so, how can this be configured? If you can provide some pointers or samples it would really help.
    Also how to configure video profiles? (I need to support HTML5 browsers with Flash as a fallback)
    Thanks!

    Embedding of youtube videos is a very different HTML and the video is also not stored in CQ, so there is nothing from the ootb video component that could be leveraged.
    I would build a custom component for that. Or you could even use the normal text component and copy&paste the youtube html video snippet (might need configuration on the rte to allow all tags).
    Video profiles can be found under http://localhost:4502/etc/dam/video.html (and via the miscadmin, to add/remove video profile pages).
    Cheers,
    Alex

  • AirPlay fails on embeded youtube video (livestream) from New iPad to Latest gen AppleTV.

    Hello,
    I just purchased a new Apple Tv (03/24/2014) and tried to airplay an embeded youtube video from Safari and Chrome on my iPad and received an error. Airplay is working fine from the youtube app, and other apps as well. I've done some poking around and wasn't able to find any concrete answers as to why it's not working. Apparently this used to work prior to sometime in August (not sure exactly when) of 2013. Any helo would be much appreciated are this is one of the main reasons I purchased the Apple Tv.

    Hi IntroMike.
    Take a look at this URL in the XBMC forum.
    http://forum.xbmc.org/showthread.php?tid=179961&page=36
    This discusses the issue you are seeing. It seems to be specific to the Youtube app and some embeded videos.
    There is no known solution at this time apparently.

Maybe you are looking for