Embedding Youtube player

Hi All,
I want to have the youtube player within my flex app. At the moment I use the swfloader which loads my movie.
This is ok. But I have 2 questions.
By default the fullscreen button isn't available within this player.
1. How can I add this fullscreen button?
And I get some error when loading another video. Read some articles that the swfloader have to unload the first video, but am not succeeded in doing this.
2. Can someone provide an example?
(or if there is a better way to embed the youtube player, please let me know!)
Thansk in advance!

OK, now I have the fullscreen button (added "?fs=1" to the videoId).
A click on this button won't do the trick but I have found a workaround. Added an transparant button above the Fullscreen button in the player, catch the click and perform a custom function.
In this function I define a Rectangle and do a: stage.displayState = "fullScreen".
But, almost there, I'm getting annoying scrollbars within my fullscreen modus!
The cause of this is that the fullscreen modus want to show all elements at the stage.  But that is not what I want because I only want to show the region within my Rectangle.
Is there a way to remove the scrollbars from the fullscreen modus, and only show the part within the Rectangle?

Similar Messages

  • Flash Player w/embedded YouTube videos in PPT 2010

    Embedded YouTube video won't play in PPT2010; error message says newer version Flash player needed (newest alreadt installed).

    Yes, I have the latest version installed.  I finally discovered yesterday that evidently YouTube has made a change to their coding in the past week, and there is now a double entry of code that I must delete before the embedding works correctly ... at least until there is a fix.  Thanks.

  • Embedded Youtube videos not working on Chrome 23 / Flash player 11.5.31.2

    For the past couple of weeks, I've not been able to play any Youtube videos that appear as embedded videos on other websites.  The small player appears with the still frame from the video and all the controls, but on pressing play, the video goes blank and won't play (the slider stays stuck at 0:00).  Nor does the full screen button work - the player just stays where it is within the third party website.  This problem has occurred across more than one website, but all sites still work in Internet Explorer.
    The main Youtube site is still working.
    I have tried all relevant steps here, to no avail (except increasing memory for a particular website, since not just one website is affected):
    http://helpx.adobe.com/flash-player/kb/flash-player-games-video-or.html
    Details:
    Windows 7 Home Premium 32-bit
    Google Chrome 23.0.1271.64 m
    Flash Player 11,5,31,2
    Any suggestions please?
    John

    Thank your for your reply, Chris.
    I installed the newest version of Chrome, and the videos I have
    embedded on my blog are now working.
    Regards,
    Frank
    2012/11/30, Chris Campbell <[email protected]>:
    Chris Campbell http://forums.adobe.com/people/chris.campbell created the
    discussion
    "Re: Embedded Youtube videos not working on Chrome 23 / Flash player
    11.5.31.2"
    To view the discussion, visit:
    http://forums.adobe.com/message/4885375#4885375

  • Embedding video player

    I found a video at youtube I want to add to my web site. I see at youtube you can add an embedded video player and I was wondering if anyone had tried this yet with iWeb and what sort of result you had.

    Most of these types of things require you to insert some HTML into your page, which iWeb doesn't allow. However, after you publish the page, you should be able to look through the file to determine where you need to add the code for the YouTube media player.

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

  • Embedded YouTube videos do not play on my Mac Mini

    Embedded YouTube videos don't play in non-YouTube web pages.  I can click the link in the top of the video to be taken directly to YouTube, and I can watch the video there, but when I click the big Play button in the middle of the video window, I just get a black rectangle.
    I tried uninstalling Flash player as suggested in another thread, rebooted my machine, and reinstalled Flash player, but that did not fix the problem.  This is a non-Flash player problem that Apple should look into.  I have not tried this on other browsers to see if I have the same problem there or not, as I do not use other browsers besides Firefox.  I would rather not have to use another browser just so that I can watch embedded YouTube videos.  I would prefer if Apple (or another knowledgeable user) can post the solution to the problem.  Thanks!

    In Firefox, click Tools>Add-ons. Make sure the Shockwave Flash plugin is enabled and "Always activated".
    If that fails, see: How to perform a "clean install" of Flash Player in Mac OS X  in the Adobe Forums. That will clear out the pluigins and allow a fresh install with the new plugin.

  • Safari stop playing embedded youtube videos

    Hi
    I am having trouble with Safari 4.0.5 (6531.22.7) which suddenly refuse to play embedded youtube videos. Safari show the video in a web page but when played the youtube default play display "an error occurred, please try again." and Safari display in the status bar "one error in opening the page, for more information, choose Window->Activity". Now when I look in the activity window it show "forbidden" beside the video file.
    Strangely I can play the same video from the youtube main page without any errors.
    I have already done the following:
    - checked permissions with Disk Utility.
    - Reset Safari
    - Empty caches
    - Removed com.apple.Safari.plist
    - Uninstalled, re-Installed Flash plug-in
    but the problem still persist. Help in resolving will be highly appreciated.

    HI and Welcome to Apple Discussions...
    YouTube streams content using the Flash plugin ... Flash Player support on 64-bit operating systems
    Since you are running Snow Leopard, *try running Safari is opening in 32-bit mode, not 64*. Right or control click the Safari icon in the Applications folder, then click: Get Info In the Get Info window click the black disclosure triangle next to General so it faces down. Select 32 bit mode. Also, (in that same window) *make sure Safari is NOT running in Rosetta.*
    

Web pages now include a small icon or 'favicon' which is visible in the address bar and next to bookmarks. These icons take up disk space and slow Safari down. It is possible to erase the icons from your computer and start fresh. *To delete Safari's icon cache using the Finder, open your user folder, navigate to ~/Library/Safari/ and move this file "webpageIcons.db to the Trash.*
    bpageIcons.db to the Trash.*
    Carolyn

  • Embedded YouTube vids broken

    I've installed Mavericks, and now notice that Safari doesn't play embedded YouTube videos correctly. It shows the initial bit (ie, black screen, red 'play' button, and video title, top left), but pressing play just gives a black video – not controls or anything.
    Extensions are off, and I've even tried Safe Mode (Safari wouldn't work correctly for normal viewing, let alone YouTube).
    Is anyone having the same issue? I'd reall like to re-install just Safari, but don't see how.
    Normal YouTube pages are fine, but embedded vids – whether Flash or HTML 5, as far as I can tell – don't work. Others in my office have no issues, so I know it's specific to my Mac, but any ideas would be helpful.

    I am having a similar issue. I have just today purchased a new macbook pro with mavericks pre installed.
    Youtube will at first only be a blank screen, then if i press play, the video then plays ok.
    However, if I then click another youtube video link, or watch the next video, it will load the new page but play the previous video I have just watched. Its bizarre, Ive never experienced this before. This was pre-flash installement, so intsalled flash player, did exactly the same agan. Ive uninstalled flash and not sure what to do. Im not signed up for HTML 5.
    This has never happened on previous mac's. Ive now installed google chrome and youtube works fine. Although now have to adjust to the chrome browsing experience.

  • Need plug in to display embedded youtube videos in forums

    Since i installed mozilla (after pc format) i cannot see embedded youtube videos in my website. In fact, on every
    embedded video i get thisQ (see screenshot plz) http://gyazo.com/69469217f25d5e3f9b90d645fab7904b
    so which plug in is needed for this?

    Update your Flash Player '''Version 17.0.0.169<br>https://www.adobe.com/products/flashplayer/distribution3.html'''
    See if there are updates for your graphics drivers
    https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration

  • Why wont embedded youtube videos play on ipad

    why wont embedded youtube videos play on ipad

    Hi..
    Try troubleshooting the Flash plugin which is required for most YouTube cotent as well as other sites.
    Quit Safari.
    Open System Preferences > Flash Player then select the Storage tab. Click: Delete All
    Now uninstall the Flash plugin then reinstall new >  Troubleshoot Flash Player | Mac OS
    Very important to uninstall first.
    Launch Safari From your Safari menu bar click Safari > Empty Cache
    Now try a video.
    BTW... if you have the ClickToFlash extension installed, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
    And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to:  Open in 32 bit mode  is selected, deselect, quit then relaunch Safari.

  • Cannot see embedded Youtube videos; I get a black screen

    So, embedded Youtube videos suddenly stopped working. I can still watch videos on the Youtube website just fine. Making an embedded video fullscreen also allows me to see it. I have seen an answer on another thread asking to try Safe Mode. Interestingly, disabling every add-on and plugin (besides Flash and Shockwave) does not fix the issue, but using Safe Mode, which theoretically does the same thing, fixes it :S
    The embeds are black screen, and when I hover the mouse over them I see the Refresh and HD buttons, but not the Youtube icon on the lower right. Clicking the lower right area still brings me to the Youtube website, so the button still works, just isn't visible. Reinstalling Waterfox and using a new profile do not fix the issue.
    I can't test the issue on Firefox because it has a long-standing problem of the Flash Player crashing constantly every second, which rendered it unusable and is the reason I switched to Waterfox in the first place (in which Flash does not crash).
    The troubleshoot information with all Waterfox add-ons disabled (which again, doesn't fix the issue, despite Safe Mode fixing it) can be seen by navigating to the "More system details" on the menu to the right.
    Thanks!

    I had disabled hardware accel in Waterfox and it didn't fix the embeds, but doing so in Firefox fixed them for Waterfox! Odd. It didn't fix the constant Flash Player crashing, though. Thanks for solving the embeds!

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

  • Bug with embedded youtube videos?

    hi, I've done a fair amount of searching around and haven't
    found any solutions.
    What happens is when I browse to a page with an embedded
    youtube video, I get the 'A script in this movie is causing Adobe
    Flash Player 9 to run slowly.'. I get the same error with either FF
    2.0.0.13 or IE 7.0.5730.11, using Flash 9.0.124.0. Naturally
    everything in the browser grinds to a complete halt.
    The weird thing is this only happens if I scroll down the web
    page to where the video actually is embedded. Otherwise everything
    works fine.
    Using other Flash applications, watching Youtube, and so on
    are fine as well.
    I'm on Windows XP SP2.
    This only started happening in the last week or so.
    Any ideas?

    attached screenshot

  • 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 videos will no longer play in Powerpoint 2010

    Since upgrading to Flashplayer 11, I can no longer play embedded youtube videos in powerpoint 2010.  I get the error message that I have to upgrade Flashplayer.  I have performed several clean installs, yet I continue to get the same error message stating that I have to upgrade Flashplayer.  How do I correct this?

    i know right here is one fix if u got 2010 powerpoint  youtube did some changes thats not compatable with it . 1 way around it that might work for you is within the use old embeded code  were it says version=3 change it # into 2 insted of 3. do this in both appeareances.
    example   <object width="1280" height="720"><param name="movie" value="http://www.youtube.com/v/1rcqwRgVvvw?version=3&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1rcqwRgVvvw?version=3&amp;hl=en_US" type="application/x-shockwave-flash" width="1280" height="720" allowscriptaccess="always" allowfullscreen="true"></embed></object>
    change the #3 to the #2 thats it. then paste it in your powerpoint insert video from web.

Maybe you are looking for

  • Install DeskJet 720C in compatibility mode in Windows 8.1

    Hi I have a Deskjet 720C than work fine on my Window 7 64 bit system. Now I want to use it on a Windows 8.1 64 bit system. The driver installed with Windows Update does not work. Can I install it in compatibility mode? How do I do that? There is no d

  • Having used Distort crashes CS4 when trying to open additional files

    I have a strange problem that I've started experiencing since upgrading my PC. I was previously running CS4 and Lightroom 2 without problems on Windows XP Pro 32 bit - I recently upgraded to new hardware and Windows Vista 64 bit so that I could use m

  • I can't find my iPhone 4 I lost

    I can't find my iPhone 4, It has'nt iCloud registered

  • Printer Setup Utility unexpectedly quits

    I'm using system 10.3.9 and a HP5150 printer. When I print from any application I get a message that "the application printer setup utility has unexpectedly quit." The document will print but I can't access the printer set up utility... it own't open

  • Question about the Context

    Hi: I'm a freshman with the EJB.I'm ambiguous of the Context in the EJB.What's the Context?How to use the EJB? Please tell Where can I find the document about the Context,thank you.