Jump to content
Caiden

Playing .ogv video using PIP?

Recommended Posts

Does anybody know how this is done?

I guess its done by displaying a .ogv video in PIP, but how? Or is it done using a texture to set every frame on the screen?

Share this post


Link to post
Share on other sites

I found this, worked better for me !

 

while{true}do{
tv setobjecttexture [0,"video.ogv"];
["video.ogv",[10,10]] spawn bis_fnc_playvideo;
sleep duréedevotrevideo+1;
if (!alive TV) then {
breakTo "main6";
}; 
};

 

Share this post


Link to post
Share on other sites

Where did you put this script, Flash-Ranger? I still can't make this work. I put the TV, name it tv, then in it's Init field I put the script and use my video's name from the main mission's folder. What am I doing wrong?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×