Return to Snippet

Revision: 25247
at March 24, 2010 10:55 by adrianparr


Initial Code
flvPlayback.addEventListener(VideoEvent.READY, onFlvPlayback_READY);

function onFlvPlayback_READY(event:VideoEvent):void
{
	trace("onFlvPlayback_READY");
	var tempFlvPlayback:FLVPlayback = event.target as FLVPlayback;
	trace("tempFlvPlayback.source: "+tempFlvPlayback.source);
	
	var metaDataObj:Object = flvPlayback.metadata as Object;
	trace("metaDataObj.canSeekToEnd: "+metaDataObj.canSeekToEnd);
	trace("metaDataObj.cuePoints: "+metaDataObj.cuePoints);
	trace("metaDataObj.audiocodecid: "+metaDataObj.audiocodecid);
	trace("metaDataObj.audiodelay: "+metaDataObj.audiodelay);
	trace("metaDataObj.audiodatarate: "+metaDataObj.audiodatarate);
	trace("metaDataObj.videocodecid: "+metaDataObj.videocodecid);
	trace("metaDataObj.framerate: "+metaDataObj.framerate);
	trace("metaDataObj.videodatarate: "+metaDataObj.videodatarate);
	trace("metaDataObj.height: "+metaDataObj.height);
	trace("metaDataObj.width: "+metaDataObj.width);
	trace("metaDataObj.duration: "+metaDataObj.duration);
}

Initial URL

                                

Initial Description

                                

Initial Title
AS3 FLVPlayback Component Video Metadata

Initial Tags
video

Initial Language
ActionScript 3