mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Add some todo comments
This commit is contained in:
parent
8b07eb7457
commit
d65be6013a
@ -1,6 +1,4 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
// This imports the functional component from the previous sample.
|
|
||||||
import VideoJS from './player';
|
import VideoJS from './player';
|
||||||
|
|
||||||
export default function OwncastPlayer(props) {
|
export default function OwncastPlayer(props) {
|
||||||
|
@ -3,6 +3,7 @@ import videojs from 'video.js';
|
|||||||
|
|
||||||
require('video.js/dist/video-js.css');
|
require('video.js/dist/video-js.css');
|
||||||
|
|
||||||
|
// TODO: Restore volume that was saved in local storage.
|
||||||
// import { getLocalStorage, setLocalStorage } from '../../utils/helpers.js';
|
// import { getLocalStorage, setLocalStorage } from '../../utils/helpers.js';
|
||||||
// import { PLAYER_VOLUME, URL_STREAM } from '../../utils/constants.js';
|
// import { PLAYER_VOLUME, URL_STREAM } from '../../utils/constants.js';
|
||||||
|
|
||||||
@ -23,6 +24,8 @@ export function VideoJS(props) {
|
|||||||
onReady && onReady(player);
|
onReady && onReady(player);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
// TODO: Add airplay support, video settings menu, latency compensator, etc.
|
||||||
|
|
||||||
// You can update player in the `else` block here, for example:
|
// You can update player in the `else` block here, for example:
|
||||||
// } else {
|
// } else {
|
||||||
player.autoplay(options.autoplay);
|
player.autoplay(options.autoplay);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user