Load youtube video in a movieclip

hello all,
i m trying to load youtube videos in my flash8 application.i
m using this code:--
System.security.allowDomain("
http://www.youtube.com")
System.security.loadPolicyFile("
http://www.youtube.com/crossdomain.xml")
this.createEmptyMovieClip("image_mc",
this.getNextHighestDepth())
var mclListener:Object = new Object();
mclListener.onLoadInit = function(target_mc:MovieClip) {
target_mc._x = 0;
target_mc._y = 0;
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip("
http://www.youtube.com/v/818hQQmxHaM&rel=1",
image_mc)
This code is working fine but as i try to load other youtube
video on same movieclip on a button click event it loads nothing.
//code written on click event of button:--
on(click)
_root.image_mcl.loadClip("
http://www.youtube.com/v/5-43Xu6wrK0&rel=1",
_root.image_mc)
please help me on this issue.
thanks in advance

thanks for your reply.I have updated my code as u told me but
my problem is still same as before.
First time youtube video loaded properly but if i try to load
another video on same movieclip,it display flv player with its
control bar, but no flv file loaded on it.
please help me again
thanks in advance

Similar Messages

  • Unable to load youtube videos. Neither browsing nor the youtube app are working, this hapenned after I updated to iOS6

    Unable to load youtube videos. Neither browsing nor the youtube app are working, the video start loading but nothing more happen. This issue is hapenning after I updated to iOS 6.

    Try this first.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    And then try this.
    Go to Settings>Safari>Clear History, Cookies and Data. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    And ... Are you using the mobile YouTube website?
    http://m.youtube.com/home

  • Problem loading Youtube videos

    Hy...starting from yesterday I had a problem with loading Youtube videos, the site works but when I try to watch a video it looks like it skips to the end and I'm not really sure what is wrong with it

    Hi CucAdrian,
    Welcome to the forum.
    Which device are you using?
    Pfrancoise.
    If this post has helped you to solve this issue, please press the "accept as solution" icon. Kudos would always be appreciated.

  • Why can't I load youtube videos with FireFox 4.o beta

    Somehow or I don't know I can't load youtube videos, I can access the youtube page and pick a video normaly but when it's time for the video to load it won't ! the video screen will just stay in color balck ! I tried erasing the cookies and rebooting my laptop but nothing works !
    I have windows 7 Ultimate with Firefox 4.0 beta everything is upgraded properly HELP !

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    You can try to disable the hardware acceleration in the Flash Player.<br />
    See [[Cannot view full screen Flash videos]]
    * http://www.youtube.com/swf_test.html (right-click the player: Settings)
    Flash "Display settings" window:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html

  • IPhone cannot load YouTube videos properly

    I've recently been experiencing the problem of my iPhone not loading YouTube videos properly and I have no idea what can be causing this.  when using EDGE it will load fine, but over Wi-Fi videos load incredibly slowly until they stop competely.  I cannot watch any videos now without this happening.  I've tried restoring to factory settings, countless router resets etc. (although that seems to be an improbable cause as there's no problem with my phone's ability to connect to the internet).  Any ideas why this is happening or how I can fix it?

    Reset time, press and hold both the home and power buttons 10-15 seconds till the Apple logo appears. Release both buttons. Wait 15-20 seconds till your iPad starts starts on it's own.

  • Firefox for Mac is extremely slow to load YouTube videos

    Every time I go to watch a YouTube video, it takes forever for the video to begin playing. When it does finally start, the quality is often very low, at 240p or 144p. I also have Chrome and Safari installed on my laptop and they do not have any problems playing videos. It is only Firefox. Also, I do not have this problem on my family's laptop, which runs Windows. It is only on my Macbook Pro.
    Also, sometimes, various websites take a very long time to load, but this is not nearly as frequent as my problem with YouTube videos.
    I have tried uninstalling and reinstalling Firefox, starting in Safe Mode, disabling various add-ons and plugins, clearing browsing data, and nothing has worked.

    If you have problems with current Shockwave Flash plugin versions then check this:
    * see if there are updates for your graphics drive drivers
    '''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
    * disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    '''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
    * disable hardware acceleration in the Flash plugin
    '''https://forums.adobe.com/thread/891337'''
    See also:
    * '''http://kb.mozillazine.org/Flash#Troubleshooting'''
    '''http://kb.mozillazine.org/Error_loading_websites'''
    '''https://support.mozilla.org/en-US/kb/firefox-slow-how-make-it-faster'''
    '''https://support.mozilla.org/en-US/kb/firefox-uses-too-many-cpu-resources-how-fix'''
    '''https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding'''
    https://support.mozilla.org/en-US/kb/fix-common-audio-and-video-issues?redirectlocale=en-US&redirectslug=Video+or+audio+does+not+play
    https://support.mozilla.org/en-US/kb/fix-common-audio-and-video-issues

  • Mozilla (specifically) wont load Youtube videos, or streamed shows, but everything else. Why?

    Most people will readily say this - but I have absolutely no idea what I've done to change any form of settings. However Mozilla won't play any Youtube videos or streamed shows. The screen just stays blank (black). I've uninstalled and reinstalled flash and that didn't fix it, and I've tried most of the troubleshooting options, none seem to work.
    I've opened up Internet Explorer and they have no problems playing any video. It's just Mozilla. I'm not too sure what the issue is. I've googled such problems and any form of related issues seem to want to clear any cache or cookies - didn't work.
    Anyways, any and all help would be greatly appreciated. Thank you

    The most likely cause is the latest Flash update. Please see this article for more information: [[Flash 11.3 doesn't load video in Firefox]].

  • Phone won't load youtube videos

    My bb curve 9360 won't let me load youtube vidoes, it says error has occurred attempting to play media....can anyone help?

    Hi gb123
    Try this Knowledge Base article :
    KB20491 :  Unable to view YouTube video files on an Unlocked BlackBerry smartphone
    KB31953 :  When attempting to stream video in the BlackBerry Broswer users receive an error message "An error has occurred attempting to play media
    I hope it will help.
    Good luck.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Safari doesn't seem to load youtube videos after browsing for awhile. Anyone else experiencing this?

    After every 30 mins or so browsing youtube videos on Safari, the videos stop loading. Seems to be a problem with Flash or something. But everything is up to date. Never happens when I use Chrome. I have to always quit Safari and run it again. But the problem still persists. Anybody care to provide some help?

    Thanks. That helped. I took another users advice as well.
    chuckone
    Re: Problem viewing YouTube Videos 
    May 17, 2012 9:31 PM (in response to SamEgypt)
    Try going here http://www.youtube.com/html5  and check to make sure you are not opted-in to this HTML5 trial as I was. I was having problems similar to what you've described, as soon as I opted out of the HTML5 trial YouTube videos on Safari 5.1.7 are working fine. By the way I am also running 10.7.4.

  • Prob loading youtube video

    Hello,
    I just recently developed a problem in both youtube and metacafe where I try to load and view videos and they will play for approx 15 seconds then stop. In youtube I can see that the red bar has not completely filled the entire bottom of the screen but this never happened before ie; the last four monts. Currently, I have to load the video and then pause it and wait until the red bar fills its bottom section. Sometimes it never does. Any suggestions?
    Thanks

    Hi there; )
    Yes it is alright to do if it happens again, within reason this should not be required too frequently, it depends on your browsing.
    Make sure that Safari is Quit or the same corrupt plist will be recreated.
    Yes it is ok to empty the trash.
    You can also replace the com.apple.Safari.plist file back into the preferences folder, it will replace the newly created safar.plist file, overwriting the new one, you will be asked if you want to replace the file, click ok.
    This is only needed if removal did not help an & you want to restore the Safari preferences, all though it does not take much to set the pref. again.
    This is why I prefer to not empty the trash, it until sure it worked.
    If you do not use a utility to remove internet clutter files, this Freeware tool
    OnyX and this article on Clearing caches with OnyX from Niel is very helpful.
    Take care to download the correct version for your os & read the "Help"
    on using, in the OynX menu bar when it is launched.Again use Niels article
    to help explain.
    Hope this helps to make it clearer if not please post back.
    <Blush>Thanks, you rock also!
    Cheers,
    Eme'~[ )

  • Firefox is not loading Youtube videos as of 3/17/11. I've seen other threads about this but none of the advice works for me.

    I have been seeing this problem in a LOT of forums from Youtube forums to these forums to Flash forums and on. Just recently, in the last couple of weeks, I can hear Youtube videos but not see them. Any suggestions!? This is truly annoying.

    UPDATE: Okay, just installed the 7.0.4 updated, and a lot of my notes have returned. HOWEVER there are still a lot that haven't... By deleting the gmail related ones, have I felted all these missing notes permanently? What's happened to them? Still need help please :/

  • Firefox crashes loading youtube videos but only there. it's working on other video pages. i started it in a safed modus but the problem is still there. I reinstalled firefox and the flash pluggin but it didn't help anything. What can I try else?

    I'm using firefox 3.6.8.
    All my pluggins are up to date
    Using a link to a youtube video or on youtube itself the page crashes. I only can hear the sound for some seconds, then that stopps too. I have to close firefox using taskmanager, nothing else is working anymore.

    Thanks again for your help.
    I did these two updates now (java and plugin) and tried some youtube videos. At the beginning I thoughts that it is working now, because normally firefox crashed already with the first or second video. Now it's working for 5-10 videos and only every 5th-10th video brings firefox to crash.
    With the plugin-container process thing I'm not really sure what to do. Do I have to disable the crash protection? (the 4 things that are written for window?) Could you maybe help me with this again?

  • HT1766 Dear Friends,Hi! please help me and let me know how to down load youtube video to my IPhone 4s

    Dear Friends,Hi!
    let me know how to download youtube video in my Iphone4s
    thanks
    Regards

    "ProTuber" app from App Store

  • Firefox will not load youtube videos as of last night, I already tried clearing my cache and cookies along with all browser history.

    Internet Explorer has the same problem as well.

    Since you already tried the clear Cache and Youtube cookie trick.
    Try making the youtube url as http'''s''':// if a youtube video is still giving the black screen.
    It is apparently a issue with Youtube as people with other browsers are getting the same. http://www.google.com/support/forum/p/youtube/thread?hl=en&tid=3cda4dac122b8f13

  • Loading youtube videos crashes my browser - both mozilla firefox and safari. Now I can't get firefox to load any page, although safari still works. It started when I clicked on a youtube link on FB 2 weeks ago. Any ideas, anyone?

    youtube is crashing my browser - both firefox mozilla and safari. Now I cannot load firefox browser at all, but safari still works - except for youtube, which immediately crashes it....any ideas, anyone?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

Maybe you are looking for

  • How to do you control lower levels from the Stage?

    How to you control lower levels from the Stage? I have a button on the main stage and I have a symbol that has another symbol inside that I want to control that timeline or label. I have had success with going one level deep but not two or three deep

  • VBS Script to add and remove computers from a group

    Good Morning everyone I need some help, I need to develop a script with excel vb + to do the following:  I select a group of ad through a comboBox and that in another box I specify the computers, just below dde has 2 buttons to add or remove these co

  • Spry drop down menu not lining up

    I'm using a Spry drop down menu across the top of my webpage but can't seem to get all the boxes to line up. For example, my menu bar currently looks somewhat like this: Home     About     Staff                                             Links All o

  • Clean-up for my G4

    Been using my G4 for over 4 years. Haven't had any real problems but lately it's been running a little slower than normal. Type fields drag in the OS and online. Opening files etc takes longer than normal. It could use more RAM but it's not even runn

  • Bridge CS3 menu greying out

    I have a JSX script that adds to Bridge CS3 a new menu element. It places it "after Tools" - ie it's a top level menu. The item appears correctly and is enabled when I open Bridge CS3. But it greys out after I go into File Info. This doesn't happen a