Update react-player and fix twitch sharing

This commit is contained in:
Lucas Zawacki 2020-06-12 15:01:15 -03:00
parent 6da65c3c84
commit abf4f45602
3 changed files with 10 additions and 4 deletions

View File

@ -73,6 +73,12 @@ class VideoPlayer extends Component {
controls: isPresenter ? 1 : 2,
},
},
twitch: {
options: {
controls: true,
},
player: 'twitchPlayerId',
},
preload: true,
};

View File

@ -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",

View File

@ -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",