diff --git a/package.json b/package.json index 997c3c9cb..11bafbdde 100755 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "dependencies": { "@sentry/browser": "5.11.1", "@stremio/stremio-core-web": "0.16.0", + "@stremio/stremio-video": "0.0.4", "a-color-picker": "1.2.1", "classnames": "2.2.6", "events": "1.1.1", @@ -29,8 +30,7 @@ "react-focus-lock": "2.2.1", "spatial-navigation-polyfill": "git+https://git@github.com/Stremio/spatial-navigation.git#40204ad9942fe786794c62f99ea5ab2b52b24096", "stremio-colors": "git+https://git@github.com/Stremio/stremio-colors.git#v3.0.0", - "stremio-icons": "git+https://git@github.com/Stremio/stremio-icons.git#v2.0.2", - "stremio-video": "git+ssh://git@github.com/Stremio/stremio-video.git#8d18b9d92ca950e09918713dbaca0e0386e714c7" + "stremio-icons": "git+https://git@github.com/Stremio/stremio-icons.git#v2.0.2" }, "devDependencies": { "@babel/core": "7.8.7", diff --git a/src/routes/Player/Video/selectVideoImplementation.js b/src/routes/Player/Video/selectVideoImplementation.js index 5a6c5f888..c2e2c6b58 100644 --- a/src/routes/Player/Video/selectVideoImplementation.js +++ b/src/routes/Player/Video/selectVideoImplementation.js @@ -1,6 +1,6 @@ // Copyright (C) 2017-2020 Smart code 203358507 -const { ChromecastVideo, HTMLVideo, YouTubeVideo, withStreamingServer, withHTMLSubtitles } = require('stremio-video'); +const { ChromecastVideo, HTMLVideo, YouTubeVideo, withStreamingServer, withHTMLSubtitles } = require('@stremio/stremio-video'); const selectVideoImplementation = (args) => { // TODO handle stream.behaviorHints diff --git a/yarn.lock b/yarn.lock index 785f853ce..70f2a9ca6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1796,6 +1796,17 @@ dependencies: "@babel/runtime" "7.10.0" +"@stremio/stremio-video@0.0.4": + version "0.0.4" + resolved "https://registry.yarnpkg.com/@stremio/stremio-video/-/stremio-video-0.0.4.tgz#338fcc0e39152e69ea8b0ecfd8beefab8b486624" + integrity sha512-ffRSs3KiDDoHmCWTqcP//dqPDiqN9AMOaQEp0Rkw3O6L6wzISNfdi/ajwHQaHO1B4Jc6QXtejcLUNiZ+cI6tmg== + dependencies: + events "1.1.1" + magnet-uri "5.2.4" + url "0.11.0" + video-name-parser "1.4.6" + vtt.js "0.13.0" + "@svgr/babel-plugin-add-jsx-attribute@^4.2.0": version "4.2.0" resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz#dadcb6218503532d6884b210e7f3c502caaa44b1" @@ -10752,16 +10763,6 @@ stream-shift@^1.0.0: version "2.0.2" resolved "git+https://git@github.com/Stremio/stremio-icons.git#923bbcd5bedcbc3a10d0ae96a3d35d2638bf0ae9" -"stremio-video@git+ssh://git@github.com/Stremio/stremio-video.git#8d18b9d92ca950e09918713dbaca0e0386e714c7": - version "0.0.1" - resolved "git+ssh://git@github.com/Stremio/stremio-video.git#8d18b9d92ca950e09918713dbaca0e0386e714c7" - dependencies: - events "1.1.1" - magnet-uri "5.2.4" - url "0.11.0" - video-name-parser "1.4.6" - vtt.js "0.13.0" - strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"