Open wabeeler opened 8 years ago
After looking at how the videojs player did its time calculations, I noticed that this plugin's times were off depending on the size of the window the player is in. I was able to correct this by using the same DOM element that the player was using.
we experienced this issue and this pull worked for us except we didn't need import videojs from 'videojs';
import videojs from 'videojs';
plus, we had to add progressControl.el().offsetLeft to div.style.left as well to center thumbnail.
progressControl.el().offsetLeft
div.style.left
After looking at how the videojs player did its time calculations, I noticed that this plugin's times were off depending on the size of the window the player is in. I was able to correct this by using the same DOM element that the player was using.