Swiiv
Member
|
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!
|
|
03-23-2016 01:56 PM |
|
Tottel
Member
|
RE: Can't get video to play
Hi there,
You should call mo.update(Time.stateTime()) in your update.
|
|
03-23-2016 03:57 PM |
|