From abf4f45602c7f44ad7aa2bb3f2a1004838428067 Mon Sep 17 00:00:00 2001 From: Lucas Zawacki Date: Fri, 12 Jun 2020 15:01:15 -0300 Subject: [PATCH] Update react-player and fix twitch sharing --- .../ui/components/external-video-player/component.jsx | 6 ++++++ bigbluebutton-html5/package-lock.json | 6 +++--- bigbluebutton-html5/package.json | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx b/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx index 5761e8c1be..2afbba51cc 100644 --- a/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/external-video-player/component.jsx @@ -73,6 +73,12 @@ class VideoPlayer extends Component { controls: isPresenter ? 1 : 2, }, }, + twitch: { + options: { + controls: true, + }, + player: 'twitchPlayerId', + }, preload: true, }; diff --git a/bigbluebutton-html5/package-lock.json b/bigbluebutton-html5/package-lock.json index ff2e1fb311..d66b4cafba 100644 --- a/bigbluebutton-html5/package-lock.json +++ b/bigbluebutton-html5/package-lock.json @@ -5635,9 +5635,9 @@ } }, "react-player": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/react-player/-/react-player-2.2.0.tgz", - "integrity": "sha512-TsUn7NL3IWmVwoeU+Jbbbrq6+2HQYsiAyC75deWI0dCkJA3InbR194VBJJiYIZvFL+tUZAcbBDHt+tYyPA0Wjg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-player/-/react-player-2.3.0.tgz", + "integrity": "sha512-pz2IUOOcAFoVK+qOXHU0oFd3lBdhmJlUjTqUZdZQwJfVbcN2cIvhZ0cCkBR0GgWAE68uLLndK388eE3J9l6oqg==", "requires": { "deepmerge": "^4.0.0", "load-script": "^1.0.0", diff --git a/bigbluebutton-html5/package.json b/bigbluebutton-html5/package.json index 237c2e6dbb..55004b16af 100755 --- a/bigbluebutton-html5/package.json +++ b/bigbluebutton-html5/package.json @@ -65,7 +65,7 @@ "react-dropzone": "^7.0.1", "react-intl": "~2.7.2", "react-modal": "~3.6.1", - "react-player": "^2.2.0", + "react-player": "^2.3.0", "react-render-in-browser": "^1.1.1", "react-tabs": "^2.3.1", "react-toastify": "^4.5.2",