Socket
Socket
Sign inDemoInstall

@hola.org/videojs-thumbnails

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1-10 to 0.1.1-11

2

package.json
{
"name": "@hola.org/videojs-thumbnails",
"version": "0.1.1-10",
"version": "0.1.1-11",
"description": "progress bar thumbnails plugin for video.js",

@@ -5,0 +5,0 @@ "main": "videojs.thumbnails.js",

@@ -158,3 +158,3 @@ (function() {

var seekBar = progressControl.seekBar;
var el = seekBar.el();
var el = progressControl.el();
if (el.firstChild)

@@ -170,4 +170,4 @@ el.insertBefore(div, el.firstChild);

var pageXOffset = getScrollOffset().x;
var clientRect = offsetParent(seekBar.el()).getBoundingClientRect();
var right = (clientRect.width || clientRect.right) + pageXOffset;
var minLeft = seekBar.el().offsetLeft;
var maxRight = minLeft+seekBar.el().offsetWidth;

@@ -182,3 +182,3 @@ var pageX = event.pageX;

// subtract the page offset of the positioned offset parent
left -= offsetParent(seekBar.el()).getBoundingClientRect().left +
left -= offsetParent(progressControl.el()).getBoundingClientRect().left +
pageXOffset;

@@ -223,6 +223,6 @@

// left side of the player
if ((left + halfWidth) > right) {
left = right - width;
} else if (left < halfWidth) {
left = 0;
if (left + halfWidth > maxRight) {
left = maxRight - width;
} else if (left-halfWidth < minLeft) {
left = minLeft;
} else {

@@ -229,0 +229,0 @@ left -= halfWidth;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc