mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
html video used in player
This commit is contained in:
parent
8665d1ca21
commit
83d5349b4f
1 changed files with 4 additions and 4 deletions
|
|
@ -44,12 +44,12 @@ class Player extends Component {
|
||||||
|
|
||||||
prepareStream = () => {
|
prepareStream = () => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
YT.ready(() => {
|
// YT.ready(() => {
|
||||||
resolve({
|
resolve({
|
||||||
source: 'SEL97pn5aS0',
|
source: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
|
||||||
videoComponent: ReactYouTubeVideo
|
videoComponent: ReactHTMLVideo
|
||||||
});
|
});
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue