mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-05-21 01:16:37 +02:00
lint fixes
This commit is contained in:
parent
5461308d30
commit
28a2a3816a
@ -15,15 +15,8 @@ export default class VideoPlayer extends Component {
|
|||||||
...defaultOptions,
|
...defaultOptions,
|
||||||
...options,
|
...options,
|
||||||
};
|
};
|
||||||
const self = this;
|
|
||||||
this.player = videojs(this.videoNode, videoJsOptions, function onPlayerReady() {
|
this.player = videojs(this.videoNode, videoJsOptions, function onPlayerReady() {
|
||||||
onReady(this);
|
onReady(this);
|
||||||
this.on('error', () => {
|
|
||||||
console.error('VIDEOJS: ERROR: currentSources:', this.currentSources());
|
|
||||||
});
|
|
||||||
this.on('play', () => {
|
|
||||||
console.log('VIDEOJS: currentSources:', this.currentSources());
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ export default function Recording({ camera, date, hour }) {
|
|||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|
||||||
if (item.date == selectedKey) {
|
if (item.date === selectedKey) {
|
||||||
for (const recording of item.recordings) {
|
for (const recording of item.recordings) {
|
||||||
buttons.push(
|
buttons.push(
|
||||||
<Button href={`/recordings/${camera}/${item.date}/${recording.hour}`} type="text">
|
<Button href={`/recordings/${camera}/${item.date}/${recording.hour}`} type="text">
|
||||||
|
Loading…
Reference in New Issue
Block a user