I’m trying to create an flv player to play a single video from a website. I can’t seem to resize the playback window. Altering the width just seems to move the same small window around the screen.
Ideally I’d like it to go full-screen or at least fill the browser window. However, I don’t even seem to have basic control at the moment. What am I doing wrong here?
Also, (and maybe this is related), I couldn’t import fl.video.* in Flex Builder without placing the component first in my library resource using Flash. Is it possible to bypass this step and import directly in Flex Builder?
var flvPlay:FLVPlayback = new FLVPlayback();
flvPlay.source ="Assets/Video/Dome Experience Animation.f4v";
var player:VideoPlayer = flvPlay.getVideoPlayer(flvPlay.activeVideoPlayerIndex);
flvPlay.fullScreenTakeOver = true;
flvPlay.enterFullScreenDisplayState();
flvPlay.bufferTime = 5;
flvPlay.autoPlay = true;
addChild(flvPlay);