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

Similar Messages

  • Dreamweaver CS6: Embedding Youtube Video causes DW to stop responding

    HI,
    I'm trying to build a simple site that displays an embedded youtube video on the main page. The video is placed in a div tag that is placed in a specific spot on the page background to make it appear as if it's playing on an old PC that's part of the image. I paste the code into the div tag in the code view and it appears as a grey box in design view. Everything seems fine up to there, however when I click live view DW CS6 stops responding and the design view window goes white. I've tried pasting the video embed code into my other page, and into a blank html document to see if it was a problem with the rest of the code but the same thing happens on any of the pages. If I save the page and preview in Chrome or Firefox the page displays the windows loading cursor for a few minutes and then returns a youtube error 6 (ERR_FILE_NOT_FOUND).
    I spent a few hours researching and found nothing via Google searches, Adobe help or Lynda.com tutorials. I'm new to web design and CSS and got as far as I did through Lynda.com lessons. Which is to say I have an index page and a seperate game guide page that links back and forth displaying images and text exactly as I'd like. Everything else works well enough only the video embedding is giving me trouble which is frustrating because according to everything I've read it's supposed to be one of the simplest processes.
    I'm really at a loss as to how to fix this issue and would appreciate any help the Adobe community can give me.
    Thanks in advance.

    Good to know,
    I fixed the problem but I'm not exactly sure why this worked. I went to a different site that uses Youtube hosted videos and tried their embed code which appeared the same to my untrained eye. But to my surprise this other video worked perfectly, so I just put the url for my video in and it worked. I'm not sure why, as far as I can tell both embed codes are the same. Both use <iframe> tags. But it works now, suffice to say I've gained some respect for the people who do this stuff day to day.

  • Fix for embedding YouTube video in powerpoint?

    Is there a fix coming soon for embedding YouTube video into powerpoint? I've tried all suggestions - reinstalling, deleting Version=3, the ampersand issues, etc.). I need this functionality for an upcoming presentation in a week. Please help!!!

    Mac Office Powerpoint

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

  • Can't see embedded youtube videos, just a blank space where the video should be

    As question says embedded youtube videos do not show outside of youtube. I'm using firefox 23.01, have cleared my cookies, seen if my flashplayer is up to date etc and still no luck.
    I've put up with it for a few months now but its really starting to get annoying
    any help would be appreciated cheers

    Hi.
    I know this sounds stupidly simple - but it worked for me.
    Sometimes, when you copy and paste the embed link from a YouTube video, the actual link to the video DOES NOT START WIth.....
    http:
    If this is not there it will fail.
    For example THIS WILL NOT WORK
    <pre><nowiki><iframe width="560" height="315" src="//www.youtube.com/embed/sCsjfE6Mabs" frameborder="0" allowfullscreen></iframe></nowiki></pre>
    BUT THIS WILL
    <pre><nowiki><iframe width="560" height="315" src="http://www.youtube.com/embed/sCsjfE6Mabs" frameborder="0" allowfullscreen></iframe></nowiki></pre>
    Took me ages to figure this out.
    hope it helps.

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

  • Embedded Youtube video is not playing in PDF while it is playing in Adobe Content Viewer - Indesign CC

    Hi,
    as a newby to DPS with Indesign CC, I'm currently working on a catalog that contains internal jumlinks and embedded youtube video's.
    All works fine in preview (Folio Overlay > Preview on desktop).
    Then I export to Adobe PDF (Interactive).
    When I open the PDF the internal links work just fint.
    But the Youtube video is not popping up.
    To embed the video I've inserted this code: <iframe width="640" height="360" src="https://www.youtube.com/embed/6EXxtnTOnqA?feature=player_detailpage" frameborder="0" ></iframe>
    And I've selected 'autoplay' in the Folio Overlays
    So what am I missing here?
    Thanks for you help,
    Dimitri

    Hi Bob,
    Like I said I'm a Newby, I even don't really understand what you mean with this.
    I'm working in de Digital Publishing toolset (I thought that was DPS).
    I use Folio Overlays over the embedded youtube code, with autoplay on.
    Than I export to PDF interactive, but neither Adobe reader, nor Preview is showing the vid.

  • Powerpoint 2013 causes IExplore to crash when previewing an embedded youtube video

    Powerpoint 2013 causes IExplore to crash when previewing an embedded youtube video
    As a user with "local administrator" or "Power User"privileges the video previews the video plays, but as a normal user the following error occurs.
    Internet Explorer has stopped working
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
    Debug or Close Program
    Event Viewer details are as follows:
    Log Name:      Application
    Source:        Application Error
    Date:          28/01/2015 11:22:32
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:     
    Description:
    Faulting application name: IEXPLORE.EXE, version: 11.0.9600.17496, time stamp: 0x546fddcc
    Faulting module name: iertutil.dll, version: 11.0.9600.17496, time stamp: 0x546fee66
    Exception code: 0xc0000005
    Fault offset: 0x000e53a8
    Faulting process id: 0x15ec
    Faulting application start time: 0x01d03aecb5356af2
    Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
    Faulting module path: C:\Windows\syswow64\iertutil.dll
    Report Id: f311913d-a6df-11e4-bf49-8019346e8858
    Event Xml:
    < Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-28T11:22:32.000000000Z" />
        <EventRecordID>30194</EventRecordID>
        <Channel>Application</Channel>
        <Computer>ALMETMP566-W7.midkent.ac.uk</Computer>
        <Security />
      </System>
      <EventData>
        <Data>IEXPLORE.EXE</Data>
        <Data>11.0.9600.17496</Data>
        <Data>546fddcc</Data>
        <Data>iertutil.dll</Data>
        <Data>11.0.9600.17496</Data>
        <Data>546fee66</Data>
        <Data>c0000005</Data>
        <Data>000e53a8</Data>
        <Data>15ec</Data>
        <Data>01d03aecb5356af2</Data>
        <Data>C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE</Data>
        <Data>C:\Windows\syswow64\iertutil.dll</Data>
        <Data>f311913d-a6df-11e4-bf49-8019346e8858</Data>
      </EventData>
    < /Event>
    Process for creating a test file is as follows
    Via youtube and your preferred browser, search for any video file (eg rubik's cube), select a video and start to watch it.  Choose Share, Embed and copy the link information (eg <iframe width="560" height="315" src="//www.youtube.com/embed/MaltgJGz-dU"
    frameborder="0" allowfullscreen></iframe>)
    Close browser and create a new powerpoint 2013 presentation.
    Insert, Video, Online Video
    In the "From a Video Embed Code" box, paste the link information then click the arrow to apply
    Save the file and then Right Click on the file and Preview.
    In advance of the creation/running, I've applied the following KBs to the machine(s)
    kb2817636 & kb2837627
    As i said at the start, members of the Power Uses or Administrators group don't have this issue - but as 99% of our users are "users" and not really an option to make them all members of PU group.
    Same also happens if the computer is removed from the domain.  Admin & power users work, standard users crash IE.
    Uninstall and reinstall of Office 2013 and IE11 has no apparent difference.
    Assistance in this is appreciated.
    Thanks
    Jon

    hi Jon, do you have all available updates installed for your PowerPoint? Install the two KB in the links below, then test again:
    http://blogs.technet.com/b/bgp/archive/2014/04/09/support-for-youtube-videos-in-powerpoint-returns.aspx
    Flynn

  • Embedding youtube videos on my DM created site

    I am having problems embedding Youtube videos in my
    website create with DM.
    I successfully embedded one video clip at
    photoresources-sf.com/equipment/html (I shot the clip)
    When I attempted to add more youtube videos, I could not make
    it happen. I followed the instructions. and when I placed the embed
    code in the code area of my site the embed code text color was all
    black and the code showed up in the table on my page.
    When I started up DW today I received a dialog box that
    states
    "this page contains <object> tags that may not work
    properly in the most recent versions of IE. DM cannot convert the
    <object> tags!"
    Does this mean I can not embed my videos or other videos from
    youtube on my site?
    How can I get around this problem?
    thanks,
    confused bill

    I think the website is
    http://www.photoresources-sf.com/equipment.html.
    Just had a look and the video is loading okay for me. I remember
    having the same issue with a child page of a template - but I
    simply ignored DW's prompt each time. Not sure the pros will see
    that as the best solution thos :p

  • This animation will not work, neither does embeded youtube videos

    So this site https://www.navo.navy.mil/cgi-bin/animate.pl/metoc/74/84/0-0-17/0 animation does
    not work (in either FF or Safari on mac, works great on any browser on xp).
    Anyone know why???
    Also, if I try to look at a embeded youtube video it shows a black screen unless I scroll so that the
    video is partially blocked (top or bottom).
    Anyone?

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.

  • FireFox no longer displays embedded Youtube videos in WordPress blogs - Even the Youtube videos no longer display on the YouTube website!

    Since yesterday FireFox no longer displays embedded Youtube videos in my WordPress blog - Even the Youtube videos no longer display on the YouTube.com website!

    Go here please, and post your concern. We are trying to show how widespread this issue is:
    Youtube videos not playing on standalone Safari browser iOS 8

  • Error with embedded Youtube videos on website pages

    On websites that have embedded Youtube videos, I no longer see a still shot of the video , nor do they have a button to allow me play them. Instead I see I message in the box where the video should be, that says "a plugin is needed to display the content". This must be related to a setting I messed up, because a few days ago I didn't have this issue. I would appreciate some guidance. Thanks

    attached screenshot

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

  • Firefox no longer plays embedded YouTube videos - message "An error occured, please try later"

    I've updated FireFox, cleared cache etc., but continue to experience this issue on several different sites where I have embedded YouTube videos. This issue has only just started happening - all was well a few days ago. They play fine with Chrome and Safari and I can also play the un-embeded version on YouTube in Firefox.

    Yes, unfortunately, another user reported this a few days ago on his website.
    Currently the only workaround is to click the YouTube button in the player to launch the video in a new window, and then manually edit the -nocookie out of the address and press Enter to load it on the real YouTube site.
    Hopefully someone at Google/YouTube will figure out why this suddenly broke and fix it.
    The other thread: [https://support.mozilla.org/questions/1050925 youtube-nocookie domain has problems in Firefox, but not in Google Chrome]

  • Firefox 3.6.3 wont play embedded youtube videos. It comes up with "an error occured please try again later. this happens all the time

    Firefox 3.6.3 wont play embedded youtube videos. It comes up with "an error occurred please try again later. this happens all the time. If you click to go to youtube the clip plays.
    == This happened ==
    Every time Firefox opened

    I was having the same issue up until I found a solution myself a few minutes ago. If you have "Accept Third Party Cookies" un-checked it will not allow the embedded "Third party" youtube videos to load. You can either Check the box to allow third party cookies or add an exception to allow youtube.com WITHOUT the www. You just want it to be Youtube.Com.
    To do so just go to Tools: Options: Privacy: Exceptions: Type in Youtube.com and click Allow. Then click Close and OK. It should start working immediately.

Maybe you are looking for

  • Location Heuristics-diff of results in background and foreground

    Hi, We have this weekly bacth job of location heu.. just one program. nothing preceding  and succeeding it. I find the results in background and foreground different. This is partcularly wrt the receipts being created before the lead time of the loc-

  • Smartview reports do not open in HFM v11.1.2.1 after upgrade from v9.3.1.

    Smartview reports when I attempt to open in HFM v11.1.2.1 (after upgrade from v9.3.1), points me to launch v9.3.1 workspace. Any advise pls... Thanks, Mark

  • Runtime error (syntax error) when defining a new logical system

    Hi! I get a short dump when trying to define a logical system, the field <b>clidep</b> does is not defined in function module <b>SCPR_BCSET_PROT_GET_TABKEYS</b>: CALL FUNCTION 'SCPR_HI_DB_SCPRACTR_READ'     EXPORTING       TABLENAME     = wa_tabnames

  • Terrible typing lag

    Hi everyone, I just got a 15-inch MacBook Pro Retina Display (mid-2014), and Pages has had terrible lag when typing. I've seen a couple of instances of people asking about similar problems, with a recurring solution being to disable various spelling

  • Bluetooth upload appears to be kaput with Yosemite

    Hello, I have an Android version 4.4.3 that uploaded stuff to my iMac on Bluetooth using OS X with no problem. Having loaded Yosemite to my  iMac, the transfer is not effected. I tested the phone's capability of doing Bluetooth transfer against anoth