Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
ven

VideoLoader stageVideo not visible?

Recommended Posts


var videoLoaderSettings:VideoLoaderVars = new VideoLoaderVars()

.autoPlay(true)

.width(500)

.height(400);

 


_videoLoader = new VideoLoader( _url, videoLoaderSettings );

_videoLoader .stageVideo = stage.stageVideos[0];

_videoLoader .load(true);

 

Normal video works perfect, but adding the stageVideo object does results in an invisible video, though it plays fine (I can hear the sound, and scrub etc.).

 

Switching to native netconnection/netstream/video code, stageVideo works just fine.

 

Any idea on what I am doing wrong with VideoLoader?

Link to post
Share on other sites

Never mind, forgot to add the stageVideo.viewport.

Link to post
Share on other sites

You might have been stupid, i'm at least as stupid as you were. So i'm glad you posted your problem (and resolve it), cause it was mine too.

 

thanks

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×