Video slider (Duration) / видео слайдер (Продолжительность)

I am having a problem while creating my own video player.

  1. I can’t figure out how to set the slider (muksimum) from the video (duration), because until the player starts working, the data from the video does not come.
    restart video, creates value (maximum) …

  2. For some reason, the slider position is only applied in 2 steps.

У меня возникла проблема при создании собственного видеоплеера.

  1. Не могу понять, как выставить ползунок (muksimum) из видео (duration), потому что пока проигрыватель не заработает, данные с видео не приходят.
    перезапускает видео, создает значение (muksimum) …

  2. По какой-то причине положение ползунка применяется то

slider.pma (7.9 MB)

I checked your project.
It looks like this problem only happens with this file. Everything works with other videos.

Re-convert your video OR manually add the number of seconds of the video as the maximum value of the slider.

image

did not help
user can add video in other format …
maybe some other way to get the desired part of the video?
I think you can start downloading data for 1 second …
what about the position of the slider?
and one more problem, when I combined the buttons into a group, the property stopped working on mouse hover

не помогло
пользователь может добавить видео в другом формате …
может как-то иначе получить желаемую часть видео?
Думаю, можно начать скачивание данных за 1 секунду …
как насчет положения ползунка?
и еще одна проблема, когда я объединил кнопки в группу, свойство перестало работать при наведении курсора мыши

slider.pma (3.7 MB)

We fixed position bug. Now the custom slider will work if the default slider works. New version will be released in two weeks.

Stopping mouse hover in a group is a bug. Thank you for the reporting.

I can’t figure out what I’m doing wrong, when I change the position of the slider, the position of the video does not change …

не могу понять, что я делаю не так, когда я изменяю позицию ползунка позиция видео не меняется…

Here is the working version slider_fixed_position.pma (3.7 MB)


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.