Stopping a Youtube video

Hi,
I know there is a disscussion running on this, but to be honest I didn't understand it...
I'm creating an interactive about the Terezin concentration camp and it need youtube video's embeded within it. The problem is that these videos are/will be, held within symbols and I need them to stop when a button/buttons are clicked on (For example Anka and Eva's Story).
I have attach a copy of my graphic. It is very rough as I have just started pulling all of the data together for it.
https://dl.dropbox.com/u/76384410/Youtube_Help.zip
Can anyone help me please?
Thank you very much,
Christine

Hi Chrissie, you can use the empty(); method to clear out the youTube player.
Revised Source:
http://www.timjaramillo.com/code/edge/_source/Youtube_stop_video.zip
I added this code on Stage.compositionReady:
// call this on click of any menu button to clear out video
sym.stopVideo = function()
          sym.getSymbol("Page_one_sym").$("vcontainer").empty();

Similar Messages

  • Safari randomly stopped playing Youtube videos

    Just the other day Safari stopped playing Youtube videos. I have tried running safari in 32bit mode but nothing. I would appreciate any info or help, thanks.

    I went to http://www.youtube.com/html5 and found that I was part of the HTML5 trial for YouTube and that YouTube videos should be playing via HTML5 and not Flash.
    I left the HTML5 trial so that the video were being played by nasty old Flash... Guess what, it works.
    Videos are now playing normally using Flash.
    My suggestion is go to http://www.youtube.com/html5 and see if you are part of the HTML5 trial also, if you are, leave the trial and see how you go.
    Lee

  • Pause/stop a youtube video

    It seems this question has been asked before with no definitive solution, so I thought I'd try my luck.
    Here's how the video is embedded on compositionReady:
    var youtubevid = $("<iframe/>");
    sym.getSymbol("intro2").$("videoContainer").append(youtubevid);
    youtubevid.attr('type','text/html');
    youtubevid.attr('width','387');
    youtubevid.attr('height','218');
    youtubevid.attr('src','http://www.youtube.com/embed/qHxn1_2KfCU?enablejsapi=1');  // url/Video_Id
    youtubevid.attr('frameborder','0');       // 1 | 0
    youtubevid.attr('allowfullscreen','0');   // 1 | 0
    I understand that in order to play/pause/stop a youtube video, you have to go through the API:
    https://developers.google.com/youtube/iframe_api_reference#Functions
    It looks like the function I would want to use here is:
    player.pauseVideo();
    So here are the two methods I've tried with no success:
    youtubevid.pauseVideo();
    sym.getSymbol("intro2").$("videoContainer").youtubevid.pauseVideo();
    Any suggestions? Thank you.

    I figured out how to reset the Youtube video upon hiding thanks to FigFrance's contribution to the thread found here:
    https://forums.adobe.com/message/4979969#4979969
    The secret was adding .empty() to my video container.  Here is my functioning button code:
    Show Video:
    //code to embed youtube into symbol
    var youtube = $("<iframe/>");
    sym.$("video").empty().append(youtube);
    youtube.attr('type', 'text/html');
    youtube.attr('width', '640');
    youtube.attr('height', '360');
    youtube.attr('src', 'https://www.youtube.com/embed/MyFv6UKsW70?rel=0');
    youtube.attr('frameborder', '1');
    youtube.attr('allowfullscreen', '0');
    // Show an element
    sym.$("video").show();
    Hide Video:
    sym.$("video").empty();
    // Hide an element
    sym.$("video").hide();
    Brandon

  • How do you stop multiple Youtube videos from playing at the same time?

    As of a few days ago, when I click on a youtube video, as the commercial begins to play, you can begin to hear multiple/different commercials playing at the same time. After the commercials, the same issue occurs with the main video--multiple videos are being played at the same time and are not in sync. I've updated all my plug ins and have tried the suggestion posted in the forum provided in the link below in which someone else has expressed the same issue, but nothing has worked so far. Does anyone know what can be done?
    http://productforums.google.com/forum/#!topic/youtube/5Lnikma4UqM

    Are you loading those videos as Flash or HTML5? It is possible to prevent videos from playing until you click something with Flashblock for Flash or Stop Tube HTML5 for HTML5. You can also stop the commercials with Adblock Plus with an Easylist subscription.
    * https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/
    * https://addons.mozilla.org/en-US/firefox/addon/flashblock/
    * https://addons.mozilla.org/en-US/firefox/addon/stop-tube/

  • Safari stops playing youtube videos

    Recently when playing You Tube videos I find that the playback overtakes the downloa, thereby stopping.
    This happens with Safari and Firefox.
    To clarify: The grey part of the progress bar does not stay ahead of the red playback bar.
    I never had this problem before. I just switched from cable to Fios and have a higher band width then I had with cable.
    I trashed the User>Home>Library>Preference, but that didn't fix the problem.
    I have a 250GB HD with 172 GB available.
    Any advice on how to correct this is appreciated.
    Thanks.

    First of all you should make sure that you have the latest version of Mac OSX. It's latest version is 10.6.8. Also you should make sure that you have the latest version of Safari browser on your Mac. If you have already have latest version of Safari browser and Mac OSX or updated your Safari browser and Mac OSX and this problem occurred again trying to download latest version of Flash Player and Shockwave Player. After downloading these two plugins for your browser if problem occurred again trying to reinstall your browsers.
    I hope your problem solve with these tricks.

  • Anyone have issues with audio stopping on youtube videos?

    I will play the same video a few times but lately when I play it the audio stops working. This happens when I am connected with headphones or when I am playing the video over the phones speakers. I have also verified that the volume is turned up. I thought at first it could be the individual video being watched but now  I am not so sure as this is the second video that has done this.
    Feedback is appreciated.
    Thanks

        Hello d4a1985,
    I'd love to help you figure this out! Normal wear and tear does not void the warranty, but damage such as a crack or a break would. Since we are unable to see the device, if you are unsure, we suggest bringing it in to the Verizon store for an evaluation.
    Thanks,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Why sound stop when youtube video playing?

    the imac 0s&system software>os x mountain Lion i don't know doesn't working with my imac computer i don't know why?

    The iPad's work.  I believe that we will see some iOS improvement with version 5. I hope with the iOS 5 update for ATV2 will help as well. Maybe even a bluetooth keyboard for 'Safari for Apple TV'

  • Safari in 64-bit mode on Snow Leopard does not play YouTube videos

    Recently Safari stopped playing youtube videos while Safari is in 64-bit mode. The entire page renders correctly; however the area where the video is supposed to play remains a black box without controls. I can watch video from other sites, or I can watch video from youtube if I use another browser like firefox. Additionally, I can go to the youtube video owner's channel and view videos there just fine. It's only when I try to view videos that use the "http://www.youtube.com/watch?v=" method of displaying a video using Safari in 64-bit mode that it fails to play -- it plays fine with Safari in 32-bit mode.
    Flash Version: 10,2,152,26
    Message was edited by: Annorax64

    scotso22 wrote:
    @Annorax64: are you sure the problem is limited to the latest Flash Player? I'm pretty sure I was still running 10.1 when I first saw it, after getting an error "Safari Flash Player (Safari Internet plug-in) quit unexpectedly."
    Upgrading to 10.2 didn't help.
    It's not !. Flash player 10.1 is no better (as you can verify by downgrading here http://kb2.adobe.com/cps/142/tn_14266.html)

  • Embedded Youtube video sound issues HELP!!

    Hello.
    This is my site http://mattpartridgeanimation.com/
    In my 'animation' section I'm loading youtube clips to my site using this AS3 script found here.
    This all works fine but when i use my buttons created in flash to load the new container_mc, the sound of the old video keeps playing. Does anyone know any AS3 script that will stop the youtube video sound playing when you click to load another video.
    I'm pretty new to all this so any help would be great. Cheers

    Hi,
    I found the same problem but, according to YouTube AS3 API reference, I solved it with the special function:
    player.destroy();
    It works. Just replace "player" with the instance name of your youtube player.
    Quote from the documentation:
    You should always call player.destroy() to unload a YouTube player. This function will close the NetStream object and stop additional videos from downloading after the player has been unloaded. If your code contains additional references to the player SWF, you also need to destroy those references separately when you unload the player.
    Best,
    Toz

  • How do I stop Thunderbird playing youtube videos in a tab

    For ages I've been trying to get Thunderbird to work how it used to work but I seem to be fighting a loosing battle. I have done everything I can do to try and stop Thunderbird from ever using tabs. The latest thing I'm trying to stop is Thunderbird playing YouTube videos in a tab. Often I get emails with videos in them that play really small. If I click in the fullscreen option in the video it doesn't work and I've no idea why? So I click on the YouTube link in the video and I want it to open in Firefox. But instead it opens in a tab. This would be okay except that it plays really slowly and I can't reposition the tab. This is one of the reasons why I hate tabs in Thunderbird. I want to read things (or watch videos) in the centre of my screen, not where Thunderbird decides to open a tab, which is usually in the top right of my screen. With a very large screen it is much more frustrating than it would be on a laptop or other small screen.
    Can someone please tell me how to fix this?
    Another thing I would like to fix is the search function. I use search all the time and it is very powerful/useful. But again, when I click on the search results it opens the result in a tab. It would be okay if it opened a tab in the search results window but it opens the tab in the main Thunderbird window. It may also be okay if search opened a tab. But opening search in a new window and then showing the search items in a tab on the main window is just so frustrating. It almost makes me want to stop using search. I looked at using X Search Desktop for search but it no longer supports Thunderbird.
    Again, can someone please tell me how to fix this?
    I absolutely love Thunderbird but I really wish it were possible to roll back the changes that have been made in a number of areas. I spend so much time looking for add-ons just to get it back to how it used to be. With every new version there seems to be another change to the interface. I have to use "manually sort folders" just to get the folders to be in the order I want them. Like everyone else I want the security fixes that come with new versions but I don't want interface changes forced on me for no reason.
    But now so many add-ons seem to stop working with each new release. I used to have an add-on that provided two simple buttons to increase/decrease the text size of incoming emails/RSS feeds. It also allowed me to set the font size/type I wanted for each incoming email/RSS feed and overide whatever was originally set. That stopped working a while back and I'd love to know if there is an alternative. Some RSS feed fonts are now set for smart phones and are simply massive in Thunderbird.
    If anyone can help me with these issues I'd be most grateful.

    You can check the home page (startup) setting:
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    If you do not keep changes after a restart then see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Why do some YouTube videos stop playing after a short time?

    Since sometime in October, 2013, I have noticed that more and more YouTube videos stop playing within a minute of starting. Most that stop do so in 15 or 16 seconds. The playing stops because the download stops. I watch this on a network activity monitor I always have running. Not all videos do this, but the problem is becoming more and more frequent. Some videos which played correctly for me in the recent past are now exhibiting this problem.
    Other than installing the latest Firefox updates I have NOT changed the software on my machine. I run Linux by the way. I do not think this is a Linux problem because (1) it was all working before and (2) my son who runs both Mac OS X *and* Windows is also seeing the same problem. We both use Firefox as our browser on all our platforms.
    I should also note that I am NOT seeing this problem with any of the other video websites I use, only when I go to YouTube. That leads me to believe that the problem is not in Firefox; if it were it should affect videos from all websites.
    Additionally the problem occurs whether or not I log into YouTube.
    I have not run Firefox in safe mode because all the extensions I use did not affect the download of Videos before, so I don't expect unchanged extensions to suddenly start causing problems.
    So, anyone else see this problem? (There was another note which talked about the same problem but it was disabled.)
    Also -- pardon my paranoia, but -- I need to ask: Since YouTube is owned by Google and Google has its own browser it wants you to use, Chrome, is it possible that Google is intentionally causing some YouTube videos to fail if it sees that they are being sent to Firefox?
    (That is not so outlandish I think. Microsoft WAS at one point caught mangling web pages going to certain web browsers other than IE. And these days Google wants to dominate the Internet just as badly as Microsoft does, so why not pull dirty tricks too?)
    If this keeps happening I am going to have to try Google's Chrome to see if it somehow manages to play YouTube videos correctly while Firefox does not. But I really do NOT want to install Chrome because I trust Google about as much as I trust Microsoft, which is to say Not At All.
    Thanks in advance.

    Hello,
    There have been some issues with Flash 11 in the recent past. This could be a manifestation of that issue. Kindly check this response below to see if this helps you in viewing Flash videos.
    Also, if you want to check if this is a flash problem and specifically on youtube, you can try the HTML5 version of Youtube. In this, there are no plugins involved, and the browser natively renders the videos. You can signup for the HTML5 trial by visiting http://youtube.com/html5. Please try that and check if the issue goes away.
    Also, in this case, Google might not be doing anything sinister - they generally try to be standards compliant too. You can definitely try installing Google Chrome and test this issue, but we definitely would want you to continue to be a Firefox user :)
    <hr>
    Some problems with Flash video playback can be resolved by disabling hardware acceleration in your Flash Player settings. (See [[Flash Plugin - Keep it up to date and troubleshoot problems|this article]] for more information on using the Flash plugin in Firefox).
    To disable hardware acceleration in Flash Player:
    #Go to this [http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues Adobe Flash Player Help page].
    #Right-click on the Flash Player logo on that page.
    #Click on '''Settings''' in the context menu. The Adobe Flash Player Settings screen will open.
    # Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel. <br/> <br/>[[Image:fpSettings1.PNG]] <br/>
    # Remove the check mark from '''Enable hardware acceleration'''.
    # Click '''Close''' to close the Adobe Flash Player Settings Window.
    # Restart Firefox.
    This [http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Flash Player Help - Display Settings page] has more information on Flash Player hardware acceleration, if you're interested.
    <hr>
    Also, try this one too
    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox are most probably caused by a recent Flash update and/or a malfunctioning browser plugin such as Real Player.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    * [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    * [[Flash 11.3 crashes]]
    * [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    * http://forums.adobe.com/thread/1018071?tstart=0
    * http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Please tell us if this helped!

  • How do I stop YouTube videos from stopping after 14 seconds?

    For a couple of days now I've found that some, but not all, Youtube videos stop at the 14 second mark. I've also noticed that the buffering bar also stops there. I have already tried deleting my history, cache and cookies. I've also uninstalled and reinstalled Adobe Flash. I've also tried turning off the computer and unplugging the modem for 30 seconds before rebooting. None of those things worked. I have TubeEnhancer. Is that causing this to happen? I have the latest versions of Adobe Flash and Foxfire.

    Try disabling that extension, as the reviews look like it could be faulty: https://addons.mozilla.org/firefox/addon/youtube-enhancer-plus/
    You can do that on the Add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Looking at your list of disabled extensions, I think you might have installed a bundle of unwanted software. To clean those out, I suggest a visit to the Windows Control Panel, Add/Remove Programs. If you click the "Installed on" column heading and view the list grouped by date, that may help in uncovering bundle items that you never intended to install. Take out as much trash as possible here.

  • Youtube video stops playing after 11 seconds

    Mac Pro / Mountain Lion 10.8.2 / Flash 11.4 - YouTube videos stop playing after 11 secs.  Only just started happening last week - around time when I installed latest Lion upgrade but this may be a red herring.  Tried uninstalling Flash and reinstalling with no change.  Checked/emptied cache.

    There are several topics with similar symptoms, but I don't think anybody has found an answer yet, as it only occurs on some few systems.
    What I would try if I encountered the same problem:
    try disable Hardware Acceleration (http://forums.adobe.com/thread/891337)
    try update the graphics drivers (http://forums.adobe.com/thread/945765)

  • How to stop youtube videos from playing after restart

    every time I restart firefox (currently 24.1.1 or 14.0.1) any tabs with youtube videos start playing and I have to wait until after restart is complete before I can find it/them.
    is there a way to stop this?

    I don't know of a way to stop auto-play on restart only. There are some extensions that can stop auto-play in general (i.e., all the time). I haven't tried any of them myself, but it looks as though these might help:
    * [https://addons.mozilla.org/En-us/firefox/addon/smartvideo-for-youtube-mytube/ SmartVideo For YouTube]
    * [https://addons.mozilla.org/En-us/firefox/addon/stop-youtube-autoplay/ Stop YouTube Autoplay] (updated version not yet reviewed)

  • YouTube videos stop playing/loading after 10-15 seconds

    Starting about 2 weeks ago, YouTube videos no longer play or fully load for me (and, from scanning both here and in google, it appears for LOTS of people on both Macs and PCs). A video will begin to load and play normally for the first 10 to 15 seconds, then simply stop loading or, more accurately, it appears to repeatedly reload that first little segment (if the little slider is accurate), sometimes getting a few additional seconds, but never much beyond 18 or 20 seconds.
    It's happening on pretty much all YouTube videos as well as videos on other web pages (though it's possible they've all been hosted by YouTube anyway).
    I do have current versions of Safari and Adobe Flash installed (and have reinstalled them). I've also cleared my cache and cookies. And I have a good DSL connection that doesn't usually have a bandwidth problem. All was working fine until a couple of weeks ago. I've run diagnostics but didn't see anything obvious.
    Anyone able to offer a possible solution or, at least, a place to look for one?

    I found a solution. It was intended for Lion 10.7.4, but it also worked for 10.6.8. Here it is:
    My Flash Player plug-in would not play videos on YouTube (using Safari in Lion). It turned out that my Safari settings needed to be reset after the recent Lion 10.7.4 and Flash upgrades.  I called Apple tech...
    This is what we did to fix it:
    1. Open Safari.
    2. Go to top left menu, under "Safari" click on "Reset Safari."
    3. UNCHECK the first two boxes, leave the next three checked, plus UNCHECK the next two, and keep the last three checked.
    4. Hit "Reset"
    5. After the reset finishes, Safari will relaunch and you can test Flash by going to YouTube to see that videos will now play.

Maybe you are looking for

  • How do I install CS5 Design Standard on my Macbook Pro when I have disc and the laptop has no disc drive?

    I bought Design Standard CS% a while back for my iMac and my iMac has a disk drive. I got a new Macbook Pro and there is no disc drive. there are also no longer trial links to download the software and then enter my serial numbers. How can I install

  • Sales area Upload CRM to SAP R/3 Middleware

    Dear SDN team, We are facing a Unique Isssue when replicating a Sales area data of a BP from CRM to SAP R/3 . The versions are SAP CRM 5.2 and SAP R/3 4.6c Problem : We have created a BP with Role "Prospect" initially in CRM and added a Sales area to

  • No Join Predicate

    The Problem: I have two No Join Predicate warnings on a single execution plan and I am unable to find the root causes.  The warnings appear on two Nested Loops Showplan Operators.  The two inputs into one of the Nested Loops Showplan Operators are th

  • Can't get webservice to work - VIES checkVat WSDL

    I'm trying to incorporate a VAT checking function in my website, for validating entered VAT. This service is granted by european Vies WSDL service. No matter what I try, I always get the same error: Web service operation checkVat with parameters {xx,

  • Jsf command button action bean method call from text fox

    Hai Friends, I want call the command button action bean method from textbox entry time. because i develop login form that time user enter user name and password if he press enter from password component that time i want to use the commandbutton actio