Fix type errors

This commit is contained in:
Mathias Rasmussen
2019-10-07 21:43:38 +02:00
parent 3fbf33b8ae
commit e71555e664
9 changed files with 10 additions and 15 deletions

View File

@@ -109,9 +109,9 @@ function renderMedia (state) {
trackTags.push(
<track
key={i}
default={isSelected ? 'default' : ''}
default={isSelected}
label={track.label}
type='subtitles'
kind='subtitles'
src={track.buffer}
/>
)
@@ -497,7 +497,7 @@ function renderPlayerControls (state) {
<div
key='scrub-bar'
className='scrub-bar'
draggable='true'
draggable
onDragStart={handleDragStart}
onClick={handleScrub}
onDrag={handleScrub}