YOUTUBE API

Hello again,
Seems like i have a big problem with this app i'm building.
Simply its a news app that takes its information from à youtube channel. I need to display videos from youtube.
But the youtube api only displays swf that you can resize, control, etc... But when i load a video in the app, i'm getting errors "SecurityError: Error #3207: Application-sandbox content cannot access this feature". I don't understand why.
I've tried this:
Security.allowInsecureDomain("*");
Security.allowDomain("*");
It display the video when i compile, but as soon as i put it on the mobile device, nothing happens.
Is it because of the "no load external swf" thing?
Otherwise how can i display youtube videos in a flash IOS app?

I'm new to the iPhone Packager myself, but I assume that as no actionscript can be run in a loaded swf file you won't be able to get the youTube player to work from within the app.
The only solution I can think of is to put in http links to the videos, which hopefully will then open up in the built in youTube app.

Similar Messages

  • Youtube api on mobile?

    Hi, by searching the youtube api, there is an actionscript one that enables you to embed their playr into your swf. However, the api I found relies on loading an external swf:
    http://code.google.com/intl/pt-BR/apis/youtube/flash_api_reference.html
    This is ok when you are targeting the flash player itself and possibly air on android, however this is not an option for iOS devices. Does anyone know if there is a solution for apple devices?
    Oh, and for vimeo?

    Hi, by searching the youtube api, there is an actionscript one that enables you to embed their playr into your swf. However, the api I found relies on loading an external swf:
    http://code.google.com/intl/pt-BR/apis/youtube/flash_api_reference.html
    This is ok when you are targeting the flash player itself and possibly air on android, however this is not an option for iOS devices. Does anyone know if there is a solution for apple devices?
    Oh, and for vimeo?

  • Retrieve what video resolutions(quality) a youtube video has, with youtube api or packet analysis

    a youtube video is usually with multiple video resolutions (quality) like 240p, 360p,720p,etc how can I retrieve what video resolutions(quality) a youtube video has are there any youtube api which can get this information
    I think If I capture the packets when I'm watching a video, by analysing the packets, definitely I can know what resolution this video provides but I don't know which part the packet provide this information does anyone know this? thanks!

    I am no iPhone expert, but I believe it has to do with what connection you are using.
    I noticed this the other day, I watched a YouTube vid the other day connected to my home wifi, and it looked amazing. Then I went to show a co-worker the same vid while on the 3g network. It looked like crap, all large pixels and blury. Anyway that is what I noticed.

  • YouTube API can't load movie from youtube rightnow?

    Hi there,
    I am a multimedia content development.
    I used YouTube API to load movie from youtube.com.
    https://developers.google.com/youtube/flash_api_reference_as2?hl=zh-TW
    It's working ok in one month ago.
    But after upgrade the FlashPlayer,not working, can't load movie to ytplayer.
    please check follow link, there have youtube movie in every page(TV frame)
    http://test1.eduweb.com.tw/ebook/demo/book/demo07/book1/
    I am sure this problem is from FlashPlayer.
    Do you have any idea?
    Sorry about my poor english.
    Best.
    Jack Chang.

    Any one can answer? Please~~
    This problem lost every YouTube movie in our content.
    But It's working normal one(or two) month ago.

  • Loader and Youtube API

    I am trying to add mouse event listener to Loader.  Loader is loading chromeless youtube player.  For some reason listener event doesn't get triggered when I move the cursor on the loader or click.

    Could someone give some code or make a tutorial on getting the youtube api v3 to work with vb.net. I have experimented with the examples on the youtube developers page in c#, and javascript, and they simply don't work. They all show errors when run as is.
    I've attempted to convert the c# examples to vb, but they don't work. I have my api key and have done all of the sign up stuff that is necessary.
    Specifically, I'd like to complete a keyword search, and then play the selected video in a video player on the same page.  Thanks.
    Hi,
    I am afraid that this issue is mainly related to apis of Youtube which belongs to third-party, I would recommend you consider posting this issue on its publisher's website to get supports.
    Regards.
    Carl.
    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.

  • YouTube API - garbled up sound

    In Tour De Flex, try YouTube API then embedded player then paste this video  PuFeb5RH1W8  into the search field.  Compare the poor sound quality with the version on www.youtube.com
    This is happening to both the chromeless and even the chromed versions that are being invoked via SWFLoader.  The same video sounds just fine on various YT test sites, where the same embed players are embedded within html pages.  It even sounds just fine within the SareFire AIR application, via webkit.
    So, what is garbling up the sound on some of the videos but not all of them ?

    However, the same video sounds just fine from within this AS3 YT wrapper implementation.
    http://youtubechromelesswrapper-as3.googlecode.com/svn/trunk/as3wrapper/deploy/index.html

  • Youtube api v3 and vb

    Could someone give some code or make a tutorial on getting the youtube api v3 to work with vb.net. I have experimented with the examples on the youtube developers page in c#, and javascript, and they simply don't work. They all show errors when run as is.
    I've attempted to convert the c# examples to vb, but they don't work. I have my api key and have done all of the sign up stuff that is necessary.
    Specifically, I'd like to complete a keyword search, and then play the selected video in a video player on the same page.  Thanks.

    Could someone give some code or make a tutorial on getting the youtube api v3 to work with vb.net. I have experimented with the examples on the youtube developers page in c#, and javascript, and they simply don't work. They all show errors when run as is.
    I've attempted to convert the c# examples to vb, but they don't work. I have my api key and have done all of the sign up stuff that is necessary.
    Specifically, I'd like to complete a keyword search, and then play the selected video in a video player on the same page.  Thanks.
    Hi,
    I am afraid that this issue is mainly related to apis of Youtube which belongs to third-party, I would recommend you consider posting this issue on its publisher's website to get supports.
    Regards.
    Carl.
    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.

  • YouTube API - Import filmcomments in Flex

    Hi!
    I'm pretty new to Flex, and are working on a project where I have imported a YouTube video.
    Now I want the comments of this movie to appear in a box to the right of this film.
    Is this possible to do with the HTTPService- method?
    I must add that I only have two weeks of AS-practice, and are bearly grabbing the concepts of the YouTube Data API for ActionScript 3.0
    Any help in this matter would be much appriciated!
    Also, any helpful code-examples will be awarded with a delicious cake :-)
    Thanks,
    Markus

    However, the same video sounds just fine from within this AS3 YT wrapper implementation.
    http://youtubechromelesswrapper-as3.googlecode.com/svn/trunk/as3wrapper/deploy/index.html

  • Youtube API about to change again.

    The buit in Youtube app in the E5-00 and 808 will most likely be broken again as Google is updating their APIs.
    http://www.allaboutsymbian.com/flow/item/20632_cuteTube_broken_but_will_be_up.php
    CuteTube's developer is reportly working on a fix.

    Any one can answer? Please~~
    This problem lost every YouTube movie in our content.
    But It's working normal one(or two) month ago.

  • An iFrame using the Youtube API (which worked fine in previous versions) is now reverting to a blank screen when I try to use it

    Basically the iFrame interfaces with Youtube and allows me to log in/authenticate and then upload/browse/edit my videos.
    Now, when clicking along to authenticate with Youtube, I am taken to a completely blanked out iFrame. :/
    Since this worked perfectly fine in earlier versions of Firefox -- is there any way to download and re-install an earlier iteration, or will the team please fix this bug?

    I have a similar issue -- using an embedded google form rendered as an iframe. It is present in the source, but displays as blank space.
    This problem seems to be confined to Mac OS X (I'm on 10.6.3), and I didn't have this problem with FF 3.6.x (not sure if I ever had 3.6.9, or what version I had prior to 3.6.10). The issue is not present in Chrome or Safari, or on 3.6.10 on Windows 7.0 I believe

  • Actionscript 3 & Youtube API: Thumbnails

    Hello. I've currently got a nice little file setup that pulls in a youtube video. I'd like to setup additional images that pull in thumbnails in a different area of the stage, that will act as buttons and load and play the fullsized video. I'm used the version of the youtube player that has the defaul buttons.  Here is the code I have so far:
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.system.Security;
    import flash.display.DisplayObject;
    import flash.display.Sprite;
    Security.allowDomain("www.youtube.com");
    Security.allowInsecureDomain("www.youtube.com");
    Security.allowDomain("http://s.ytimg.com");
    Security.allowDomain("i.ytimg.com");
    Security.allowDomain("s.youtube.com");
    var vid_player:Object;
    var thumb1:Object;
    var my_loader:Loader = new Loader();
    my_loader.load(new URLRequest("http://www.youtube.com/v/GctR_uzuNvw?version=3"));
    my_loader.contentLoaderInfo.addEventListener(Event.INIT, onLoaderInit);
    function onLoaderInit(e:Event):void{
              addChild(my_loader);
              vid_player = my_loader.content;
              vid_player.addEventListener("onReady", onPlayerReady);
              my_loader.content.addEventListener("onReady", onPlayerReady);
        my_loader.content.addEventListener("onError", onPlayerError);
        my_loader.content.addEventListener("onStateChange", onPlayerStateChange);
        my_loader.content.addEventListener("onPlaybackQualityChange",
        onVideoPlaybackQualityChange)
    function onPlayerReady(e:Event):void{
              vid_player.setSize(415,234);
              //vid_player.cueVideoById("npvJ9FTgZbM",3);
              //vid_player.pauseVideo();
              vid_player.x = 262;
              vid_player.y = 7;
              vid_player = my_loader.content;
    function createFeaturedButtons(thumb1:Object, featuredVideos:Array) {
      var results:Array = [];
      for each (var id:String in featuredVideos) {
        results.push(thumb1.getClickToPlayButton("bHQqvYy5KYo"));
      return results;
      trace(featuredVideos);
    function onPlayerError(event:Event):void {
        // Event.data contains the event parameter, which is the error code
        trace("player error:", Object(event).data);
    function onPlayerStateChange(event:Event):void {
        // Event.data contains the event parameter, which is the new player state
        trace("player state:", Object(event).data);
    function onVideoPlaybackQualityChange(event:Event):void {
        // Event.data contains the event parameter, which is the new video quality
        trace("video quality:", Object(event).data);
    I'm pretty sure the problem is with this code:
    function createFeaturedButtons(thumb1:Object, featuredVideos:Array) {
      var results:Array = [];
      for each (var id:String in featuredVideos) {
        results.push(thumb1.getClickToPlayButton("bHQqvYy5KYo"));
      return results;
      trace(featuredVideos);
    I don't seem to have that quite setup right. Please any help would be greatly appreciated.

    该位置定义为一个数字(而不是单位),以支持长度大于 232 字节的文件。
    以上文字错译严重。正确译法应该是这样:
    position定义为Number(而不是uint),是为了支持长度大于 232 字节的文件。

  • How to use Youtube Live Streaming API ??

    I want to make a WPF application that gets the video from my ip camera and sends it to my youtube channel live. I look around all of the websites but there's no example how can i live stream a video to Youtube with c#. There are examples in google's website
    but they were written with PHP, Java and Phyton but I don't know this programming languages so i couldn't use the API.
    I tried to write a little bit but it didn't work. Here's my code that i wrote looking through the Java example.
    string devkey = "AIzaSyCbxm6g9orAw9PF3MkzTb_0PGbpD3Xo1Qg";
    string username = "MyYoutubeChannelEmailAdress";
    string password = "MyPassword";
    YouTubeRequestSettings youtubereqsetting = new YouTubeRequestSettings("API Project", devkey, username, password);
    YouTubeRequest youtubereq = new YouTubeRequest(youtubereqsetting);
    LiveBroadcastSnippet broadcastSnippet = new LiveBroadcastSnippet();
    broadcastSnippet.Title = "Test Live Stream";
    broadcastSnippet.ScheduledStartTime = new DateTime(2015, 3, 12, 19, 00, 00);
    broadcastSnippet.ScheduledEndTime = new DateTime(2015, 3, 12, 20, 00, 00);
    LiveBroadcastStatus status = new LiveBroadcastStatus();
    status.PrivacyStatus = "Private";
    LiveBroadcast broadcast = new LiveBroadcast();
    broadcast.Kind = "youtube#liveBroadcast";
    broadcast.Snippet = broadcastSnippet;
    broadcast.Status = status;
    Google.Apis.YouTube.v3.LiveBroadcastsResource.InsertRequest liveBroadcastInsert = new Google.Apis.YouTube.v3.LiveBroadcastsResource.InsertRequest(service, broadcast, "");
    LiveBroadcast returnLiveBroadcast = liveBroadcastInsert.Execute();

    This article should get you going:
    https://developers.google.com/youtube/v3/code_samples/dotnet
    Also, questions on YouTube API issues should get the best service here:
    https://groups.google.com/forum/#!forum/google-api-dotnet-client

  • YouTube fileupload api error.

    Hello;
    I'm building a small site using YouTubes API system. I downloaded a YouTube.cfc from Ray Camden, and it works excellent. I am having an issue with a fileupload and the content I'm sending. It's outside the cfc function, it's the information I'm sending off to youtube. I've changed it around and I know it's my key words that is making it error. I am attaching the piece of code and the error
    Error:
    YouTubeCFC Upload Error: Domain=yt:validation, Code=invalid_value
    my code:
    <cfset yt = createObject("component", "youtube")>
    <cfset yt.setDeveloperKey("<my key>")>
    <cfset yt.login("<username>", "<password>")>
    <cfset r = yt.upload(expandPath('#uploadedfile#'),'#title#','#description#','Category','key,word')>
    The way this works is as follows:
    this form uploads the video to the server, then youtube takes it to their server so the uploaded file is the actual file that is being sent

    Hi,
    there is not a lot which can be done and independently from you I am using for my
    site [url=http://privatekrankenversicherungtestpkv.com/]PKV[/url]
    cfset yt = createObject("component", "youtube")> 
    <cfset yt.setDeveloperKey("<my key>")>
    <cfset yt.login("<username>", "<password>")>
    <cfset r = yt.upload(expandPath('#uploadedfile#'),'#title#','#description#','Category','keyword')>
    which is idenciral (like minds) ... and - no wonder
    I am receiving: domain=yt:validation, Code=invalid_value
    and I´d be grateful for someone who sees the beasty, tiny little thing which is wrong
    Have a nice day
    .... Wolfgang

  • Edge crashes when used with Youtube iframe API - how to solve this?

    As Edge is the thing which makes mobile interaction design possible, it would be necessary to use the youtube iframe api for youtube videos (the usual Youtube JS API operates with flash and therefore is no go for mobile useage).
    As soon as i integrate the iframe API Code in any manner into a Document that runs Edge (paralell or within Edge), Adobe Edge crashes.
    Anyone there with experience in this?
    Thanks so much,
    Andy

    Hi Hemath,
    here the project:
    http://www.jungeroemer.net/projekte/ytapi/edge.zip
    i used the yutube api as here:
    https://developers.google.com/youtube/iframe_api_reference?hl=nl#Getting_Started
    for now edge does only crash if i use the youtube code in the html file<script> tag when having an edge file running in the same html.
    When i paste the code into edge it keeps running but it seems like onYouTubeIframeAPIReady() is never being called because
    the code can not proppelry be loaded into the website within Edge Animate..
    If loaded successfully i would try to identify the player div for the youtube api and try to place the player iframe in an edge div.
    Thanks for help,
    regards,
    Andy

  • Youtube AS3 Api without branding

    I am loading a youtube video inside a AS3 app, and want the youtube logo not to be visible. I have used modestbranding but still it shows the logo. Below is the code I am using.
    Security.allowDomain("www.youtube.com")
                        var my_player:Object;
                        var my_loader:Loader = new Loader();
                        public function ytPlayer() {
                        my_loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3&modestbranding=1"));
                        my_loader.contentLoaderInfo.addEventListener(Event.INIT, onLoaderInit);
                        function onLoaderInit(e:Event):void{
                        addChild(my_loader);
                        my_player = my_loader.content;
                        my_player.addEventListener("onReady", onPlayerReady);
                        function onPlayerReady(e:Event):void{
                        my_player.setSize(640,360);
                        my_player.loadVideoById("_OBlgSz8sSM",0);
    Please suggest.
    Ayush

    for this u hav to customize the player and  hav to use the youtube api of as3

Maybe you are looking for

  • About printing from hp officejet pro 8000

    Hi,        My question is on technical side. I don't know I should ask it in this forum or not, Yet I am going to ask. I am using officejet pro 8000 printer in my project. I connect it to my machine and send the test report data to printer. Report is

  • Export of RAW files loses EXIF data

    I am having a problem when I export files out of the PSE Organizer from RAW format to JPG that I am losing EXIF data on the resulting JPG file. I am using PSE 6 on Windows Vista and primarily manage my images in RAW format (Nikon D300 NEF) within the

  • Stock transfer from storage bin to another storage bin.

    Hi, i would like to know the method to be followed in order to transfer the materials from one storage bin to another within the warehouse and also within a storage type. Also i would like to know how to transfer the material from one storage type to

  • How can i change the cracked screen of iphone6 in a country which has no apple store?

    Just one time fallen... Totally craked, but the touch function is still available. I bought this IPHONE6 from online store of the apple official website, and this country Im living in which has no real APPLE store, so where should I go to replace the

  • Best TV Web Cam Needed For A Panasonic TC-P65VT30 ...

    Hi Folks, Well I purchased the Logitech TV Skype Cam (720P Video Calling) for now until I can find what I'm really looking for which I don't believe is made at this time. If anyone has any info in terms of what I'm looking for (Last post 2/1/12) in a