Starting video at arbitary time point
Posted: 19 Oct 2006 16:40
Hi there,
I am trying to play a video from a point other than its start (i.e. 5th second) and have several issues. Is there a startup parameter that I could pass to addTarget to deal with this?
Currently I am setting the Time property of the ActiveX control but it doesn't seem to work well. It seems that setting the time immediatly after the call to addTarget/play simply does not work (it is ignored). So I used a timer to set the time property 500msecs after the call to addTarget and this seems to work, but there is a flickering which is not desirable.
I also tried waiting until the Playing attribute is set to true but this didn't work either.
Any ideas why this is happening or any workarrounds?
Thank you,
Agis Andreou.
I am trying to play a video from a point other than its start (i.e. 5th second) and have several issues. Is there a startup parameter that I could pass to addTarget to deal with this?
Currently I am setting the Time property of the ActiveX control but it doesn't seem to work well. It seems that setting the time immediatly after the call to addTarget/play simply does not work (it is ignored). So I used a timer to set the time property 500msecs after the call to addTarget and this seems to work, but there is a flickering which is not desirable.
I also tried waiting until the Playing attribute is set to true but this didn't work either.
Any ideas why this is happening or any workarrounds?
Thank you,
Agis Andreou.