From 5e6876c970714ef4ad068db072d8f3c51ec31f24 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 1 Sep 2020 12:04:54 +0200 Subject: [PATCH] Added the videojs-vtt-thumbnails-freetube module from npm instead of the Github repository --- package-lock.json | 57 +++++++++++++++++++ package.json | 2 +- .../ft-video-player/ft-video-player.js | 2 +- 3 files changed, 59 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 33d1e958..4adb0e19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19004,6 +19004,63 @@ } } }, + "videojs-vtt-thumbnails-freetube": { + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/videojs-vtt-thumbnails-freetube/-/videojs-vtt-thumbnails-freetube-0.0.15.tgz", + "integrity": "sha512-aRjG6fvsuWCpcFcdhqRbI5HUWw1l7boHRJZoQki+z74uDbys/u8OVo6S/oJgpmog//iToQEKqHjSEisFdVDQlA==", + "requires": { + "global": "^4.4.0", + "request": "^2.88.2", + "video.js": "^7.2.0 || ^6.6.0" + }, + "dependencies": { + "global": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", + "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", + "requires": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + } + } + }, "videojs-vtt.js": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/videojs-vtt.js/-/videojs-vtt.js-0.14.1.tgz", diff --git a/package.json b/package.json index a5d15ad6..a0801978 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "videojs-contrib-quality-levels": "^2.0.9", "videojs-http-source-selector": "^1.1.6", "videojs-replay": "^1.1.0", - "videojs-vtt-thumbnails-fork": "github:gilgusmaximus/videojs-vtt-thumbnails#build", + "videojs-vtt-thumbnails-freetube": "0.0.15", "vue": "^2.6.12", "vue-electron": "^1.0.6", "vue-i18n": "^8.21.0", diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index 54b89f81..7549a713 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -7,7 +7,7 @@ import $ from 'jquery' // Need to expirement with both of them to see which one will work best. import videojs from 'video.js' import qualitySelector from '@silvermine/videojs-quality-selector' -import 'videojs-vtt-thumbnails-fork' +import 'videojs-vtt-thumbnails-freetube' import 'videojs-contrib-quality-levels' import 'videojs-http-source-selector' // import mediaelement from 'mediaelement'