background preloader

Video flash APIs

Facebook Twitter

Video player for native streaming

EmbededPlayer - gwt-youtube-api - Using embeded YouTube video player in GWT application - Youtube API for Google Web Toolkit. GWT integration Using embeded player in your GWT application is perfectly easy.

EmbededPlayer - gwt-youtube-api - Using embeded YouTube video player in GWT application - Youtube API for Google Web Toolkit

Firstly, add GWT inherit into your XYZ.gwt.xml file: This 1 line of code will add a posibility to use GWT embeded player in your GWT application for playing youtube videos and you can use it as normal GWT widget. You can set-up all parameters defined in YouTube Embedded Player Parameters documentation. Most easiest way how to use YouTube player: YouTubeEmbeddedPlayer youTubeEmbeddedPlayer = new YouTubeEmbeddedPlayer("hqXUKxJiDls");youTubeEmbeddedPlayer.setWidth("427px");youTubeEmbeddedPlayer.setHeight("320px");RootPanel.get().add(youTubeEmbeddedPlayer);

YouTube ActionScript 3.0 Player API Reference - YouTube. YouTube Embedded Players and Player Parameters - YouTube. Player ActionScript API on Vimeo Developer API. Player-api/actionscript/src/com/vimeo/api/VimeoPlayer.as at 04462f2d1544717c18e3550e9893b6f5c67058a0 · vimeo/player-api. Vimeo Moogaloop API. Working with Vimeo Moogaloop API in Flash. The last weeks I dealt with the vimeo Moogaloop API.

Working with Vimeo Moogaloop API in Flash

The documentation on the JavaScript and Flash API was not so well. But fortunately a couple days ago they updated the documentation for the JavaScript API and then for the Flash API. So now I am able to give an introduction how you can use the Moogaloop API in Flash. The guys from vimeo published a Videowrapper Class which handles the very very basic stuff of the vimeo video player. So you can easily import the vimeo video player in your Flash Projects and you are able to do basic functionality like play(), pause() and loading a new video. In my blog post I will describe how you can use my extended version of the VimeoWrapper class. A short explanation of the control buttons. Between the video and the controls you can see the duration and the currentTime of the Video and the VideoStatus of the File.

Working with the extended VimeoPlayer Class And now some coding stuff. After that you can work with the VimeoPlayer instance. Docs - HTML5 Widget. Actionscript 3 - Drawing Shapes in Flex 4/AS3 addchild issues. SWFLoader - API Documentation. Loads a swf file and automatically searches for active loaders in that swf that have the requireWithRoot vars property set to that swf's root.

SWFLoader - API Documentation

If it finds any, it will factor those loaders' progress into its own progress and not dispatch its COMPLETE event until the nested loaders have finished. The SWFLoader's content refers to a ContentDisplay (a Sprite) that is created immediately so that you can position/scale/rotate it or add ROLL_OVER/ROLL_OUT/CLICK listeners before (or while) the swf loads. Use the SWFLoader's content property to get the ContentDisplay Sprite, or use the rawContent property to get the actual root of the loaded swf file itself. If a container is defined in the vars object, the ContentDisplay will immediately be added to that container). If you define a width and height, it will draw a rectangle in the ContentDisplay so that interactive events fire appropriately (rollovers, etc.) and width/height/bounds get reported accurately.