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

Similar Messages

  • 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

  • Facebook actionscript API not working with Flex 4.5 Mobile Project

    Will the following API work in a Flex 4.5 mobile project?
    http://code.google.com/p/facebook-actionscript-api/
    I tried a simple Facebook.int() and I keep getting the following error...
    Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
    at Error$/throwError()
    at flash.external::ExternalInterface$/addCallback()
    at com.facebook.graph::Facebook/init()[C:\Users\MikeHunt\Work\facebookGraphApi\api\com\faceb ook\graph\Facebook.as:599]
    at com.facebook.graph::Facebook$/init()[C:\Users\MikeHunt\Work\facebookGraphApi\api\com\face book\graph\Facebook.as:165]
    at views::LoginView/init()[/Users/edgar/Documents/Adobe Flash Builder 4.5/socialMessenger/src/views/LoginView.mxml:15]
    at views::LoginView/___LoginView_View1_initialize()[/Users/edgar/Documents/Adobe Flash Builder 4.5/socialMessenger/src/views/LoginView.mxml:3]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at mx.core::UIComponent/set processedDescriptors()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent .as:1871]
    at mx.core::UIComponent/initializationComplete()[E:\dev\4.5.1\frameworks\projects\framework\ src\mx\core\UIComponent.as:7660]
    at mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7639]
    at spark.components::View/initialize()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src \spark\components\View.as:990]
    at views::LoginView/initialize()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\ framework\src\mx\core\UIComponent.as:7485]
    at mx.core::UIComponent/addChildAt()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7189]
    at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.5.1\frameworks\projects\ spark\src\spark\components\Group.as:2037]
    at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.5.1\frameworks\project s\spark\src\spark\components\Group.as:1628]
    at spark.components::Group/addElementAt()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\c omponents\Group.as:1387]
    at spark.components::Group/addElement()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\com ponents\Group.as:1345]
    at spark.components::SkinnableContainer/addElement()[E:\dev\4.5.1\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:761]
    at spark.components::ViewNavigator/createViewInstance()[E:\dev\4.5.1\frameworks\projects\mob ilecomponents\src\spark\components\ViewNavigator.as:1954]
    at spark.components::ViewNavigator/commitNavigatorAction()[E:\dev\4.5.1\frameworks\projects\ mobilecomponents\src\spark\components\ViewNavigator.as:1867]
    at spark.components::ViewNavigator/commitProperties()[E:\dev\4.5.1\frameworks\projects\mobil ecomponents\src\spark\components\ViewNavigator.as:1236]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\4.5.1\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:597]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:783]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5.1\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1180]

    This is the error because the runtime does not find any way to call Java script that usally is called through External interface. So my guess is you are using a AIR project. U just need to download the latest swc http://code.google.com/p/facebook-actionscript-api/downloads/list for destop in your case and don't forget to but FBJSBridge.js to put in your source that will b used to help AS call Facebook API from AIR runtime
    Hope it make some sense
    Piyush Negi

  • Who create Web service in flex 3? Or import  web service flex 3

    Please import web service flex 3, work code example
    (Alguine quien me colabore mostrando un ejemplo trabajando
    con web services en flex)

    do not use the forum as marketing place for you site. if you want to share the content with SDN users, you have the blog area, wiki, article area.
    raja

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

    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.

  • How to import ArrayUtilities into Flex?

    I would like to use ArrayUtilities inside Flex. How do I
    import them? Do I need to download ascb.util package manually? If
    so, where can I get them?

    you can use exsitng API for ArrayUtil
    import mx.utils.ArrayUtil;

  • API for parent-child flex value norm hierarchy

    Hi,
    We are looking for an API to create or delete parent - child flex value hierarchy.
    Could someone please advice?
    Thanks

    Yes, I did check here but did not find any information.
    http://irep11i10.oracle.com/OA_HTML/OA.jsp?page=%2Foracle%2Fapps%2Ffnd%2Frep%2Fwebui%2FInterfacesBrowsePG&_ti=2085868704&oapc=3&oas=ioOnKXcQLw-VgcHrVUTNXQ..

  • Design view not working after importing project from Flex Builder

    After importing a project from Flex Builder to Flash Builder I am no longer able to see anything in the design view. I am using the flex 4.5 sdk.
    Any idea how I can get this design view working? I heard it could have something to do with the metadata directory but am slightly lost here?...
    Adam

    Could you please provide more information as to what exactly are you importing. Also does Design View not lauch at all or does it give errors. Would it be possible for you to share the logs.
    Meanwhile you can try cleaning the workspace and importing again to see if that solves the issue.

  • How to import your Air/Flex project from FB 4.6 to FB4.7

    It seems so easy.. however, I can't figure out how to do it.
    I used to build my projects (Air projects with merged SDK) in FB4, FB4.5 later FB4.6 and now 4.7. But when I import my old project, it gets an old 3.4 AIR SDK. Wtf?
    When I go to the project settings and want to change the sdk to my Flex 4.6 with Air 4.0 SDK, I cant! it sais "This project will use AIR SDK 3.4".
    So I go to FB settings, add the new SDK in Flex SDK's but still I can't change the SDK from my project.
    When I create a new Flex project, I can select the right SDK's. But I never made a Flex project. I make Air projects.
    So it seems to me that Flash builder 4.7 can have multiple Flex SDK's (merged or not) for Flex projects only, and just one SDK for Air projects which you can't be changed.
    O and the default is also freaking old.
    Now who the hell came up with that stuff at Adobe?...
    So I located the Air SDK my FB is using, and replaced it with my Flex4.7 and Air4.0 SDK. No luck, whole FB went nuts.
    Anyone has a clue?

    FlashBuilder (doesn't matter what version) screws this up all the time. There are so many files related to configuration of the workspace, the projects within the workspace and the eclipse environment that it gets messed up all the time.
    I never have this problem in other editors Eclipse based editors like InteliJ, Aptana, FDT etc. It's just Adobe growing / extending a tool which has bad programming in it and not bothering to go back and fix the root of the problem before expanding on it. FlashBuilder doesn't get the attention it deserves from Adobe. If they are not careful in the not too distant future when WebGL is supported on all the major web browsers and tools are released to translate WebGL to OpenGL ES iOS and Android applications AIR might see itself becoming a thing of the past. Esepcially when the tools can't even save the state of the projects they themselves created correctly.

  • Java SDO API import bug

    There is a bug in the Oracle Java SDO API. It cannot import compound geometries which consist of either 3 or 4 sub-elements. e.g., the following geometry cannot be imported:
    SDO_GEOMETRY(2002, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 4, 4, 1, 2, 1, 9, 2, 2, 13
    , 2, 2, 17, 2, 1), SDO_ORDINATE_ARRAY(278222.37, 179102.519, 278222.37, 179111.223,
    278222.37, 179176.31, 278223.164, 179194.567, 278224.751, 179206.473, 278238.913,
    179237.143, 278262.587, 179261.242, 278288.15, 179273.083, 278316.033, 179277.117,
    278336.935, 179274.471, 278357.997, 179271.272))
    Apparently the API does not validate the SDO_ETYPE when checking the SDO_INTERPRETATION value in the geometry.
    SDO_INTERPRETATION values of 3 and 4 are assumed to be a rectangle and circle, respectively, independent of the SDO_ETYPE value. In fact, these SDO_INTERPRETATION should be handled such only for SDO_ETYPE value of 3.
    For an SDO_ETYPE value of 4 (as in the example above), the SDO_INTERPRETATION value indicates the number of sub-elements in the compound geometry element.
    Any ideas for a workaround or fix for this bug?

    Hi Sunil,
    This is a bug. There doesn't seem to be a workaround.
    Can you contact me via email or post your email?
    Thanks.

Maybe you are looking for