Unload multiple youtube video player

hey guys...i have a problem when i was trying stop a multiple youtube streaming video in flex. i'm using 3 file in this project:videoTutorial.mxml(as main application), windowVideoTutorial.mxml (as titleWindow component), and videoTutorialx.xml (as external xml file).this is the code:
videoTutorial.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    initialize="videoService.send();" width="100%" height="100%" >
    <mx:HTTPService id="videoService" url="xml/VideoTutorialx.xml" result="videoHandler(event);" />
    <mx:Script>
        <![CDATA[
            import mx.rpc.events.ResultEvent;
            import mx.collections.ArrayCollection;
            import mx.managers.PopUpManager;
            [Bindable]
            public var repvid:ArrayCollection;
            private function videoHandler(event:ResultEvent):void{
                repvid=event.result.VideoTutorial.myvideo;
            private function launchPopUp(e:MouseEvent):void {
                if(thumbClick.selectedItem){
                    var win :windowVideoTutorial = new windowVideoTutorial();
                    win.sourceVideo = thumbClick.selectedItem.urlVid;
                    PopUpManager.addPopUp(win,this,true);
                    PopUpManager.centerPopUp(win);
        ]]>
    </mx:Script>
    <mx:ApplicationControlBar width="100%" height="100%" horizontalAlign="center">
        <mx:VBox>
            <mx:ApplicationControlBar width="100%" verticalAlign="middle">
                <mx:Label text="Tutorial Multimedia Player"
                    width="100%" textAlign="center" />
            </mx:ApplicationControlBar>
            <mx:TileList id="thumbClick" dataProvider="{repvid}"
                width="700" height="525" rowHeight="200" columnWidth="325"
                click="launchPopUp(event)" verticalAlign="middle"
                horizontalCenter="0" verticalCenter="0" >
                <mx:itemRenderer>
                    <mx:Component>
                    <mx:VBox horizontalAlign="left" verticalAlign="top" width="100%">
                        <mx:Label text="{data.titleVid}" fontWeight="bold" fontSize="12"/>
                        <mx:Image source="{data.imageVideo}" width="150" height="150"/>
                    </mx:VBox>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:TileList>       
          </mx:VBox>
    </mx:ApplicationControlBar>
</mx:Application>
windowVideoTutorial.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
    width="100%" height="100%"
    showCloseButton="true"
    close="closeWindow(event);"
    creationComplete="Init();">
    <mx:Script>
        <![CDATA[
            import mx.events.CloseEvent;
            import mx.managers.PopUpManager;   
            [Bindable]
            public var sourceVideo:String;       
            private function closeWindow(e:CloseEvent):void {
                PopUpManager.removePopUp(this);
                {what should i write in here . . .} 
            private function Init():void{
                var url:String = sourceVideo; 
                Security.allowDomain(url);                                          
                youtubevid.load(url);                                                
        ]]> 
    </mx:Script> 
    <mx:SWFLoader 
        id="youtubevid" verticalAlign="top" 
        horizontalAlign="center"   
        width="100%" height="100%" 
        /> 
</mx:TitleWindow> 
videoTutorialx.xml
<?xml version="1.0" standalone="yes"?>
<VideoTutorial>
  <myvideo>
    <titleVid>Tutorial After Effect</titleVid>
    <imageVideo>assets/videoThumbnail01.jpg</imageVideo>
    <urlVid>http://www.youtube.com/v/Gq5jTY76slU</urlVid>
  </myvideo>
  <myvideo>
    <titleVid>Tutorial Wayang</titleVid>
    <imageVideo>assets/videoThumbnail02.jpg</imageVideo>
    <urlVid>http://www.youtube.com/v/7PrXlEJb-0Y</urlVid>
  </myvideo>
  <myvideo>
    <titleVid>Tutorial premierre</titleVid>
    <imageVideo>assets/videoThumbnail03.jpg</imageVideo>
    <urlVid>http://www.youtube.com/v/XsdJA3AweXE</urlVid>
  </myvideo>
  <myvideo>
    <titleVid>Tutorial sound audio</titleVid>
    <imageVideo>assets/videoThumbnail04.jpg</imageVideo>
    <urlVid>http://www.youtube.com/v/vCWSUVi-bII</urlVid>
  </myvideo>
  <myvideo>
    <titleVid>Tutorial masking</titleVid>
    <imageVideo>assets/videoThumbnail05.jpg</imageVideo>
    <urlVid>http://www.youtube.com/v/wyXxIMWjdA4</urlVid>
  </myvideo>
  <myvideo>
    <titleVid>Video Show off</titleVid>
    <imageVideo>assets/VideoTutorial/videoThumbnail06.jpg</imageVideo>
    <urlVid>http://www.youtube.com/v/1nFXms0pqF8</urlVid>
  </myvideo>
</VideoTutorial>
i attach source code here...im waiting for your reply...thank you very much

A player can not run like that but I was not trying for one night.
iyi izle video izle izlesene facebook izlesene iyi izle youtube

Similar Messages

  • Embed multiple YouTube videos in Captivate 5.5

    I have multiple YouTube videos that I would like to insert into one Captivate file, each video on a separate slide. If the learner moves away from the slide, I'd like the video to stop. If they should return to the slide, ideally the video would be a the beginning point. 
    I've been searching for a while. I found one where it will play one YouTube video per Captivate file, but not multiple videos. Also that one would show a transparent gray over the video while it played.
    Thank you for any assistance.

    Erik,
    Thank you for replying. I apologize that I did not reply sooner.
    I thought I found a widget that I could embed the YouTube videos within a slide, but was having problems trying to get it to work.
    I changed my plan and now have the video opening in a separate window. Because we do not have a technical person to help us for possible future issues this will be a better direction for us to move in.
    Again, thank you!

  • Flashplugin-prerelease crashing on multiple youtube videos

    I open two youtube videos one after the other in firefox. The first page loads just fine and the video starts playing. When the second video starts playing, the first is still playing sound but the area where flash is on the screen is frozen. Then when I close one tab with a video, flash crashes and I get this in the terminal:
    ###!!! ABORT: X_GLXDestroyContext: GLXBadContext; 12 requests ago: file nsX11ErrorHandler.cpp, line 182
    _XError+0x000000CF [/usr/lib/libX11.so.6 +0x00046E9F]
    UNKNOWN [/usr/lib/libX11.so.6 +0x000441E7]
    UNKNOWN [/usr/lib/libX11.so.6 +0x00044235]
    _XEventsQueued+0x00000055 [/usr/lib/libX11.so.6 +0x00044855]
    XPending+0x0000005D [/usr/lib/libX11.so.6 +0x0003527D]
    UNKNOWN [/usr/lib/libgdk-x11-2.0.so.0 +0x00058E83]
    g_main_context_check+0x000002B8 [/usr/lib/libglib-2.0.so.0 +0x00041878]
    UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x00042152]
    g_main_context_iteration+0x0000006D [/usr/lib/libglib-2.0.so.0 +0x0004266D]
    _ZN4base16MessagePumpForUI17RunWithDispatcherEPNS_11MessagePump8DelegateEPNS0_10DispatcherE+0x00000052 [/usr/lib/xulrunner-1.9.2/libxul.so +0x00D20054]
    UNKNOWN [/usr/lib/xulrunner-1.9.2/libxul.so +0x00CFB532]
    UNKNOWN [/usr/lib/xulrunner-1.9.2/libxul.so +0x00D06DBE]
    UNKNOWN [/usr/lib/xulrunner-1.9.2/libxul.so +0x00D16976]
    UNKNOWN [/lib/libpthread.so.0 +0x00006CB0]
    clone+0x0000006D [/lib/libc.so.6 +0x000D395D]
    I didn't have any problems with flash until today. I don't know if an update of a package is the cause. I updated the system two days before this started happening, but flash still worked correctly after that update (and  I rebooted the system).
    I tried to open multiple youtube videos in chromium and the same happens. Only flash doesn't crash when I close a tab, but i get this in the terminal:
    [4592:4592:7981533979:ERROR:app/x11_util.cc(59)] X Error detected: serial 16420, error_code 147 (GLXBadContext), request_code 136 minor_code 4 (X_GLXDestroyContext)
    Maybe it's something with X?
    Edit: I tested flash with videos on vimeo and there it works with multiple videos running.
    Last edited by KRTac (2011-03-03 13:21:46)

    Please search the forums before posting
    https://bbs.archlinux.org/viewtopic.php?id=114481
    follow discussion in linked thread.
    Closing...

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

  • Multiple Youtube Videos, with buttons

    I am using a Shockwave Flash Object to load in my Youtube links.
    I have multiple buttons, all change the movie link of the player. However:
    1. Once a movie is loaded the other buttons do nothing.
    2. On any other computer, other than the one I am creating the program, the videos start to play then stop working.
    Private Sub ColourOil_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ColourOil.Click
    WocaVideoPlayer.Movie = "https://www.youtube.com/v/HgdpIVc_sVA"
    End Sub
    Private Sub DiamondOil_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DiamondOil.Click
    WocaVideoPlayer.Movie = "https://www.youtube.com/v/D_3ZaTNlYps"
    End Sub
    Thanks
    Dan

    Hi Flooring Sales,
    I tested the code, It works well.
    Result:
    When i changed the movie, it can change.
    If you have questions, you could share a little sample which can reproduce the issue, we could help you better.
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I download multiple YouTube video files SEQUENTIALLY (not simultaneously, the way all the downloader add-ons I've tried do it)? Thanks.)

    The more download streams I get going at the same time, the slower each stream gets. Rather than waiting for [all] of them to download before I can watch [any] of them, I would rather have them download one at a time - each in it's turn taking all the bandwidth so as to download as quickly as possible. When the first is done, the downloader would automatically start the next download, etc. Like the way the playlist works in VLC Media Player or Windows Media Player.
    Seems like an obvious thing for people to want to do. I have a couple theories on why downloader add-ons do not offer this. Curious to know if I'm right about it. Thanks for your help.

    HI Invent,
    In fact, there is a way to donwload one video by one, at least in the add-on I know and use (Video Download Helper - https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper)
    There, you have to configure it in the Add-on Menu, clicking the the 'Options' button of Video Download Helper, then in the window that pops up you choose "Services" , then 'Download' tab and change the first field (probably called 'Download Mode' in English - I have it here it here in Portuguese now), change it to 'One by one'
    If you have doubts in the process, just let me know and I will try to clarify it to you.
    Hope it helps.
    Best Regards,
    Marcus

  • Youtube videos spazzing out and freezing

    Hi
    Sometimes when I have a youtube video in another tab and then go back into that tab, the video will show the same image (as if it were paused, except the sound continues) and/or showing other images spazzing inside of the video (zooming in and out). The latter happens more frequently when I'm on a youtube playlist or have multiple youtube videos opened (not all playing). The latter is quite rare, however, and I had only gotten it twice before I started finding a way to reproduce the former problem. Both can occur independently of each other. I can't remember this happening to me on my old arch linux install (on the same computer), which had the same driver and browser.
    I'm on a relatively new arch linux system (about 3 days old) so I barely have anything installed.
    This is some of the stuff I have installed that might be relevant:
    - Desktop Environment: Cinnamon
    - Browser: Chromium
    - Video driver: ATI (xf86-video-ati)
    - flashplugin 11.2.202.291-1
    Reproduction of problem:
    1. Open Chromium
    2. Open Youtube
    3. Open three videos in a new tab from the front page
    4. Close Youtube front page window
    5. Wait for all videos to start
    6. Pause all videos
    7. Start video in tab #1
    8. Click 'Youtube' in the left corner in tab #1 for home-page
    9. Click a video
    10. Let the video load and then either pause or let it play.
    Now both videos from tab #1 and #3 are frozen (sound is still playing) with a white frame, picture from another website (if I tabbed to it from that website) or a picture from the video. Sometimes it's spazzing out with another video zooming in and out inside of the video frame.
    Regards,
    Surculus
    PS. the problem can happen in with e.g. two youtube windows open, I just wrote one that always worked for reproducing the problem.

    Hi BKLive
    My problem is not that flash crashes. The sound is still playing, but the video freezes in place or is replaced by an image from another website in my tabs (that I would then have tabbed out of to get to the Youtube video). I tried the suggestions that were given in those forum posts, but they did not solve the problem. The only thing that 'fixed' it was using gnash. However, I do not want an infurior alternative that will negatively affect my experience watching youtube but rather to solve the problem. Unless of course there's an alternative that functions better than the default youtube flash player.
    Regards,
    Surculus

  • Download and import YouTube videos to iMovie for  editing

    Download and import YouTube videos to iMovie for editing
    YouTube always provides people with raw video materials on all sorts of things happened worldwide in real time. Video lovers are fond of downloading these files as private collection, even using video editors like iMovie to do further editing of their favorite ones, so as to import them to portable devices like iPod, iPhone, PSP, Blackberry, etc. for playback, or upload to their own websites to share with others, or do something else as they like.
    However, not all the people have found a proper way to download YouTube videos, not to mention how to add these files to iMovie for editing. YouTube videos are in the format of FLV, which is not a workable format in iMovie, so if you want to import YouTube videos to it without trouble, you should convert FLV files to iMovie compatible formats such as MPEG-4 and MOV in advance. With the special intention of solving these two problems, this guide will show you how to download YouTube videos and import them to iMovie for editing step by step. If you are in need, just feel free to go along with it.
    Step 1: Download, install and run Pavtube YouTube Converter for Mac
    This converter can process downloading and conversion simultaneously. Once you launch it, the interface below well pop up.
    Step 2: Add URL, select output format and set save path
    Press tag “Add URL” in the above interface, and then the following window will appear. Just copy and paste the URL of the YouTube video file which you want to download and convert to the text box after “URL”. Then select a supportable format for iMovie by clicking the drop-down list of “Convert To”. Here I choose MOV for example.
    Afterwards, you can insert the storage file name in the text box of “Save As”, if not, the program will generate one automatically. Here I save my file as “mycollection”. Meanwhile, you are allowed to hit “Browse” in the opposite side of “Save To” to specify the destination folder. By the way, if you want to save the original FLV files, you are allowed to tick the checkbox “Save FLV File” to achieve this goal.
    Step 3: Custom
    This program enables you to adjust video and audio parameters like codec, bit rate, aspect ratio, frame rate, sample rate, and channels, so that you can change them randomly according to your own demands. Generally speaking, the options which refer to values are always in condition of the larger values, the larger file size, but better quality. Do remember click “OK” to save your custom settings.
    Step 4: Download and convert
    Once all the settings are done, you can click “OK” button to start. The following window will show you the progress of downloading and conversion.
    Step 5: Import the output MOV files to iMovie
    As soon as the YouTube video files have been downloaded and converted to MOV or other iMovie workable format, you can click “Open” at lower right corner of the above interface to find out the output files. Afterwards, launch iMovie, and click File > Import to add the output files to iMovie for editing.
    Tips:
    1. This program supports batch tasks so that you can download multiple YouTube video files in batches at a time.
    2. Pavtube YouTube Converter for Mac adopts multi-threading technology, which makes its download speed is faster than any other similar YouTube downloader.
    3. Besides YouTube.com, it can also automatically detect and download online videos in the format of .flv, and f4v from many other video-sharing websites, like Yahoo Video, Myspace, Google Video, Fox and more.
    4. It also provides users with conversion function, with which you can convert any YouTube FLV/F4V files to other formats like MP4, MKA, WAV, AC3, MKV, FLV, MP3, M4A, 3GP, AVI, MOV, MPG, etc. at will.
    5. If you only use it as a YouTube downloader without format conversion, you can take it as a piece of freeware.
    All right, this guide is ending up now; hope it will do you a favor while downloading video files from YouTube as well as importing them to iMovie for further editing.

    It's a clip from CNN (with all credits etc. added). When one refers to it as a clip posted on "YouTube", then people understand the quality will be poor.
    I've watched television go from everything shot on a tripod with clean, meticulous editing rules, to almost anything goes. It has to do with cultural reference.

  • Windows 8: After update to Flash Player 13 no audio/youtube videos

    Youtube videos only play a second, after that they reload multiple times and then youtube gives me some error about how it can't play the video.
    Audio stopped working completely and itunes won't play songs. It's stuck at 0:00.
    I already tried to reinstall. Also, I didn't find any previous versions for my windows like the mac users got.
    Any help is very much appreciated. Yesterday evening the laptop did everything alright.

    What browser do you use?

  • I have Mozilla Firefox and Adobe Flash Player 13 Plug-in won't allow me to watch YouTube videos

    Up until last week I had IE9 and was able to download and watch YouTube videos with my son and play Facebook games.  Then one evening I tried to pull up a Yo Gabba Gabba video on YouTube and the video window was blank.  I had watched this video the night before with him, and the only thing I can think of is there was a Flash Player update that tried to download.  I saw several posts that suggested downloading a new broswer, but I waited for 3 nights thinking it was just a glitch.  I finally gave up and sent a pm to one of my friends who is a Internet Service Technician.  She told me to download Mozilla Firefox, which I did, and the problem seemed to be solved.  I was once again able to download and watch YouTube videos, as well as play games on Facebook.  And it seemed my pages, pictures, etc. all downloaded 10x faster.  That worked until the next evening and suddenly I once again could not download and watch YouTube videos.
    I checked my system and it found that Adobe had done an automatic update so that instead of just having Adobe Flash Player 13 Active X I now had Adobe Flash Player 13 plug-in.  I also noticed that Adobe Air was downloaded on my computer.  I went in and uninstalled the Adobe Flash Player 13 Plug-in and I was once again able to download and watch YouTube videos.  But when I tried to play games on Facebook I was told I would need to install at least Adobe Flash Player 10.0.2.  I went to find that or an older version but each time I tried to download from Adobe I would get the Adobe Flash Player 13 Plug-in version, and once again I was unable to download and watch YouTube videos.  I was, however, able to play the games on Facebook again.
    Remember when I just had Adobe Flash Player 13 Active X I was able to do both while having Mozilla Firefox.  I have looked all over the internet and I cannot find recent articles that talk about this problem.  Can someone please tell me what I can do so that I can keep Mozilla Firefox, as it is 10X faster than IE9 and with Firefox my Facebook doesn't crash all of the time?  But I also want to have the ability to download and watch YouTube videos with my son, as well as the play games on Facebook.
    I should also note each time I went to uninstall Adobe Flash Player 13 Plug-in I received an error message saying there was a conflict with Mozilla Firefox and I first had to shut it down before the uninstall would proceed.  Also, I received a reply on Adobe's Facebook page from a Tech who had me check to see if I had the latest version of Flash Player.  I did have the most recent version.  He then asked me to go to my add-ons and enable Shockwave.  I followed the instructions and it was already enabled (or it said always activate).  Neither of those helped me be able to download and watch YouTube videos.  But I can still play Facebook games.

    What is your current Flash Player version: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html ?
    What is your display adapter, driver version & date?  See http://forums.adobe.com/thread/945765

  • I have a Mid 2009 Macbook Pro 13 with no restore disk; it has OS 10.8.4 I believe there is something wrong with the OS due to I can not install flash player to view Youtube videos and the when we plug in a Bose headset the sound out will work sometimes

    I bough a used Macbook Pro mid 2009 that came with OS 10.8.9 it didn't have a backup restore disk with S/N W8******66D
    When trying to view some youtube videos; a window would pop up saying "it needs adobe flash player is required for video play back get the latest flash player" but after downloading the file and during installation would have errors and will not installed.....tried to reboot and install again.....but still the same.
    The othe thing I had noticed is when using a good Bose headset with mic the sound output would noticed the headset and then switch from headset to Internal speekers and headset.....thinking that there might be something wrong with the plug in port of the computer or the headset.....the headset works with no issues on my iPad so there must be something wrong with the computer.....tried to move the plugin around the port but no change....while the headset is plug in can hear a short clicking noise and the sound would get lost and back again......but with nothing plugin to the port there is no issue with the sound or mic.
    Thanks for your feed back......it looks like I have two different issues one is a software issue and the outher is a hardware issue
    <Edited By Host>

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • HT1338 Hi everybody..i have an enigmatic problem since i bought MacBook Air..i can't watch youtube videos and i did install the latest adobe flash player BUT when i start to install it the system keeps asking me to enter a password ? which password i need

    Hi everybody..i have an enigmatic problem since i bought MacBook Air..i can't watch youtube videos and i did install the latest adobe flash player BUT when i start to install it the system keeps asking me to enter a password ? which password i need ??????

    Your admin account password.

  • I have updated to Firefox 6 on OS Vista; since then I can't play YouTube videos, operate Skype or Real Player. How do I fix the problem successfully?

    YouTube videos seem to load for approximately a second before stopping... and then there is no progress at all. After upgrading to Firefox 6, I received a message saying that it is not compatible with Skype and Real Player (?) and that certain updates could therefore not be performed.
    With all due respect, what good is it to upgrade to the latest version of Firefox if popular applications like YouTube and Skype can't operate anymore? I desperately need to solve the problem - if there is no solution other than 'downgrading' to a previous version of Firefox, which version would that be?
    Thank you for your time and dedication in sourcing a solution in this regard.
    Regards
    ValleyMan

    Uninstall version 6, Google for a download site for version 5.1. Problem solved.

  • After installing Mozilla Firefox 20.0 with Adobe Flash Player 11.6, YouTube videos won't load properly.

    YouTube videos worked fine before installing Adobe Flash Player. When installed the screen flickers after one second, rewinds to the beginning, then plays normally. This doesn't occur when I use Internet Explorer. I have reinstalled both Mozilla Firefox and Adobe Flash Player many times but nothing seems to work . Downgrading Adobe Flash Player didn't work either. It seems like Firefox is the problem but I'm not completely sure.

    Hi All,
    Thanks a lot "cor-el". I also suffered from the above issue. And after I disabled the protected mode by editing "mms.cfg" file the issue got resolved. Now flash player is working fine.
    Please use this link for more details : http://kb.mozillazine.org/Flash#Troubleshooting

  • Windoes 8 flash player installed but youtube videos not working?

    I brought a laptop that already came with windows 8 installed on it and adobe flash player. it says i have adobe flash player and there are no problems with it but when i play youtube videos its just instead of the box where the video should be its just black blox instead with not even the buffering sign or play button or anything. so how do i fix this?

    If you right click on the black box, do you see a menu appear (displaying About Flash Player at the bottom)?  Do you see the same behavior when using IE in either desktop or modern/metro mode?  For details on these differences and a couple of other troubleshooting steps, please see this help doc:
    http://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-8.html

Maybe you are looking for