How to control a YouTube video with buttons created with Edge Animate?

I am able to embed a YouTube video by doing:
var tubeCont = sym.$("tubeCont");
var youtube = '<iframe  width="'+tubeCont.width()+'" height="'+tubeCont.height()+'" src="http://www.youtube.com/embed/OCbrZvmLY0o?enablejsapi=1" frameborder="0" allowfullscreen ></iframe>';
tubeCont.html(youtube);
I have some buttons that go to another position on the timeline where a different object is shown. if the video is playing, it will continue playing even if the user cannot see it. Hence, I want to pause or stop the video.
On the button clcik event I have tried:
sym.getComposition().getStage().getSymbol("youtube").$getSymbol("player").stopVideo();
sym.$("youtube").$("player").stopVideo();
youtube.$("player").stopVideo();
sym.getSymbol("youtube").$("player").stopVideo();
sym.getSymbol("youtube").stopVideo();
And other stuff, but I cannot make it doing waht I want.
Any suggestions?

Yes, I tried tubeConf, and it doesn't work either.

Similar Messages

  • Download and convert Youtube video to MP3---Just with one click

    Download and convert Youtube video to MP3---Just with one click
    Last week, when wandering around the Youtube watch.com, I was enthralled with the theme song of "Lost", especially the words of the song "I found out, on the corner of first and amistad, where the west was all but won all weeklong, smoking his last cigarette, I said: "Where you been?" He said: "ask anything.""......"
    I couldn’t help expecting to save this song to my personal players. What a delightful thing listening to the song while walking or waiting for a bus! Okay, do you have the same experience as me? When hearing an exciting speech or dialogue, are you thirsty for downloading them and saving as your best memory?
    Download, convert Youtube to mp3?—yes, you can.
    Anna, one of my best friends, has posed a question "I have a Mac notebook and I only need the audio (mp3 music) of a certain Youtube movie, what shall I do?" The solution to the problem is shown as below:
    Step one: Install a Youtube Converter for Mac as follows:
    Step two: import the URL of Youtube video (or batches of URL) you wanna convert using "Add URL" icon. Select output format like audio (MP3) by "Settings" and customize your output file path with "Browse".
    Step three: If you want your output audio much better, you can set the audio resolution like Bit Rate, Channels or Sample Rate presented in the following picture.
    Step four: Click "Ok” button, it automatically download and convert your youtube videos simultaneously. After a few minutes, you can get the desirable audio (mp3) you want and enjoy it on any portable devices.
    Download, convert Youtube videos to iPod, iPhone, iPhone 3Gs, PSP, Creative Zen, Zune, iRiver, and etc. --- done by one click.
    Generally, if you want to download a Youtube video and then convert them to MP3 for your mobile devices, you need two Youtube tools: Youtube Downloader and Youtube Converter. But, now, with Pavtube Youtube Converter for Mac, you can both download and convert massive videos by clicking one "Ok" button.
    Now, all the best, you can enjoy versatile Youtube music at a waiting room, on a bus, traveling, walking around the park or lying on your bed..

    Youtube's ToU specifically state that downloads of any content is prohibited unless there is a download button available for a particular video.

  • How to save a youtube video on  phone

    how to save a youtube video on  phone

    Have you tried changing the value of src attribute in your code to begin with “http:// rather than “// ?
    So your src value should look like http://www.youtube.com/embed/QtJmckpjmfU?feature=player_embedded
    See if that works.
    Cheers,
    Vikas

  • How can I import youtube videos to iMac mediathek ?

    How can I import youtube videos to iMac mediathek ?

    The problem with this question is that Youtube forbids downloads according to their terms unless there is a download option offered, so, in order not to violate the terms of these forums, we are not allowed to discuss such matters.

  • How can I download youtube videos to my macbook pro?

    How can I download youtube videos to my macbook pro?

    Install Firefox web browser and there are a ton of add-ons that can do the task.
    https://www.mozilla.org/en-US/firefox/new/
    https://addons.mozilla.org/en-US/firefox/

  • TS1702 How can I rotate a video that I made with my iPod to the correct orientation?

    How can I rotate a video that I took with my iPod to the correct orientation?  My video is sideways and I can't find a way to make it show correctly.

    See if any of the previous discussions listed on the right side of this page under the heading More Like This help.
    Also you can Google for computer apps that will change the origination of videos.

  • How can i watch youtube videos no flash

    how can i watch youtube videos without installing flash on my imac

    You can try using HTML5 potentially https://www.youtube.com/html5.

  • How can I download YouTube videos in my I pad air?

    How can I download YouTube videos in my iPad Air ?

    If you download youtube videos via your browser on your computer you need a special plugin. For your ipad search the app store for youtube downloaders and see if there are any.

  • How do i put youtube videos on to imovie

    how do i put youtube videos on to imovie

    # Go to the video you want in Safari.
    # Go to Window>Activity
    # Open up the thing in the Activity Window if you don't see it open
    # Find the largest file
    # Double-click. A file called "get_video" should start downloading
    # Get iSquint (free, http://www.isquint.com/)
    # Open iSquint, drag the get_video file, and click the Convert button

  • Hello how can i download youtube videos on my macbook pro...plz tell me about downloader

    hello how can i download youtube videos on my macbook pro...plz

    nbar wrote:
    Where are you getting (A) from? There is nothing inherently illegal about it, AFAIK.
    You would be incorrect on that.  
    Commercial music videos are not to be downloaded, nor is there any difference between that and illegal torrent downloading of copyrighted material.
    Such actions pertaining to commercial copyrighted videos / music videos (lots on youtube) is not legal.
    Any distribution of videos, music or text without the express permission of the copyright-holder is copyright infringement
    regardless of all of that, Google/Youtube clearly notes that its against their policy to allow same from their site on such materials (not all, but most of it there).
    most such videos are not free and "open public domain" materials
    5. Your Use of Content
    In addition to the general restrictions above, the following restrictions and conditions apply specifically to your use of Content.
    The Content on the Service, and the trademarks, service marks and logos ("Marks") on the Service, are owned by or licensed to YouTube, subject to copyright and other intellectual property rights under the law.
    Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content.

  • How do you import youtube video to iMovie?

    How do you import youtube videos into iMovie

    Why not ask your questions in the iMovie forums?  It's where the iMovie users hang out at.

  • My MacBook has Leopard Printer has asked me to 'embed fonts' in pdf text. I have used Web but mostly out of date or Windows focused. Can you advise me how best to embed fonts on pdf documents created with TextEdit ?  Thank you.

    My MacBook has Leopard. A printer has asked me to 'embed fonts' in pdf text. I have looked csrefully on Web but mostly out of date or Windows related.
    Can you advise me how best to embed fonts on pdf documents created with TextEdit ?  Thank you.  PippinD

    Hi
    Level 2 posters and Above can report various posts.
    When they do so they have various options that they can attribute as the issue.
    I have reported your post.
    I found the one block of text very difficult to read.
    9:36 PM      Monday; January 28, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How many sub-interfaces we are able to create with ISR 4321 ?

    Hi,
    I want to buy an ISR 4321 router. I would like to know how many sub-interfaces we are able to create with this router (802.1Q) ?
    http://www.cisco.com/c/dam/en/us/products/collateral/routers/4000-series-integrated-services-routers-isr/at-a-glance-c45-732425.pdf
    Thanks.
    Regards,
    Nurul Kabir KHAN

    Hello Nurul,
    The maximum number of interfaces (physical, subinterface, or virtual) a router can handle depends on the maximum number of SWIDBs that the router can use. This limit used to be set to 300 for all platforms, but with the emergence of features such as frame-relay subinterfaces, multilink Point-to-Point Protocol (PPP), and virtual private dial-up network (VPDN) that uses virtual interfaces, this value has proven to be insufficient on some platforms
    Maximum Number of interfaces
    Every interface uses an IDB. Therefore, the IDB limit indicates the maximum number of interfaces a router can handle.
    The IDB limit is, therefore, the answer to the common question "How many (sub)interfaces can be configured on this platform?"
    For further details, you can read this document
    Please don't forget to rate and mark as correct the helpful post!
    David castro 
    Regards,

  • HOW CAN YOU WATCH YOUTUBE VIDEOS WITH CC ON? THIS FRUSTRATES ME A LOT. THANKS.

    So, I am kinda confused. I searched around the net and all that, and I found out that there's this thing in setting where you turn on the "closed-captioning". So I turned it on and tried watching videos in YouTube but IT didn't work. Also, I remember one time that I can use CCin YouTube. it's weird.
    I remember that they said if the Cc were encoded in quicktimes you can see the CC but if it's flash you can't. So I figured it's impossible to watch YouTube videos with CC. However, if anyone knows another way to watch with CC on YouTube, tell me please. Thanks.

    Sorry, but I don't know if there is a way.
    Also, just to be picky....would you be kind enough to avoid using all caps in your title?

  • How can i play youtube videos without quitting my app in iOS 5?

    i'm loading an embed code of a youtube video on a UIWebView and it has being working just fine , but now i'm testing the app on iOS 5 and when i'm in fullscreen mode and i press the pause button the app just frezze .  can anyone help me with this?
    This is the code i'm using for loading the video:
    http://iphonedevelopertips.com/video/display-youtube-videos-without-exiting-your -application.html#comment-55254
    NOTE: I'm using iOS 5.

    NOTE:  Please use the confidential forums created for this purpose - iOS 5 beta

Maybe you are looking for