WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   When a video stop ? (https://forum.worldviz.com/showthread.php?t=969)

djdesmangles 01-10-2007 08:01 PM

When a video stop ?
 
Hello Wizards,

Is there any status variable to indicate that a video playback is finished ?

Thanks a lot...

farshizzo 01-11-2007 12:04 PM

You can check the current position of the video to tell if it is finished. When a video finishes the position will go back to 0. Here is code to retrieve the position of a video:
Code:

pos = video.getposition() #Retrieve position in seconds

djdesmangles 01-11-2007 04:15 PM

Thanks !!
 
Thanks a lot !! It's worrking... :)
D.


All times are GMT -7. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC