Hey all.
I’ve been hacking a voddler plugin (flash with WebVideoURL) for a while and having some issues with the seek bar. We are using javascript and the percent of the movie + seeking works great. What doesn’t work is the time. Even though i’m seeking in the movie, the time never updates, and it also starts when the flash is loaded, not when the movie starts (it starts a couple of seconds after the flash is loaded), and doesn’t show how long the movie is.
Would be nice to be able to tell plex how long the movie is (time) so plex could understand that when i’m 50% in the movie i have 40min togo. It clearly understands how many % there is left.
Any help on how to figure out the time issue?
I believe that the time displayed on the play/pause/seekbar is set by the “duration” argument when creating the WebVideoItem. It requires an int for the length of the video in milliseconds. If you know, or can figure out, the length of the video before it starts playing, you should be able to have the time display behave the way you want.
The runtime of the movie is correct, the problem is that when you seek, the duration time is not updated at all. So If i start the movie it says maybe 30sec has gone, and 2h remaining. Then i seek to the middle of the movie, and it still says 30 sec has gone. But the percent bar is update correctly.
I thought that plex would either calculate the position (time wise) based on the percent bar in the seek bar, or let the player report where it was in time.
Maybe it’s not possible to fix the time issue with flash elements?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.