About Store Forum Documentation Contact



Post Reply 
Can't get video to play
Author Message
Swiiv Offline
Member

Post: #1
Can't get video to play
Hello,

I am trying to play a theora video but whatever I change in the code it doensnt play, no errors or anything it just give a black screen.
Code i've used:
Video mo;
void InitPre()
{
VIDEO_THEORA;
EE_INIT();
}

bool Init()
{
mo.create(UID(3028411493, 1145312171, 1880863876, 938240039), false, false);
return true;
}
void Shut() {}
bool Update()
{
return true;
}
void Draw()
{
mo.drawFs();
}

Can someone please correct my code?
thank you so much!

smile
03-23-2016 01:56 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #2
RE: Can't get video to play
Hi there,

You should call mo.update(Time.stateTime()) in your update. smile
03-23-2016 03:57 PM
Find all posts by this user Quote this message in a reply
Post Reply