Problem with video with SB 5.0

Questions and information about Crank Software's Storyboard Designer

Moderator: jamiev

Problem with video with SB 5.0

Postby Ealo » Fri May 26, 2017 8:06 am

Dear All,
I'm tring to put in my application all the video controls (stop, pause, play, move backward and move forward) to control in the best possible way some videos.
I try to get the total time of the video using the field "total_time" in the "" event, but it's always set to "1768187245" which isn't the total time of the video. I also try with several videos but the "total_time" is always the same value.
Do you have some advices to resolve this problem?
Let me know!

Best regards
Posts: 12
Joined: Sat Oct 22, 2016 12:10 pm

Re: Problem with video with SB 5.0

Postby Evan » Fri May 26, 2017 8:40 am

Hi Ealo,

In 5.0, there was an API change around the media time events. Information on the duration of a video was taken out of the '' event and given it's own event, ''. To query the total time of a video, listen for '' and look at the 'total_time' field.

For further reference, here is a link in our documentation to the new media event organization: ... _def_media

Posts: 20
Joined: Wed Aug 27, 2014 7:29 am

Return to Storyboard Designer

Who is online

Users browsing this forum: Bing [Bot] and 3 guests