Add explicit boolean
This commit is contained in:
parent
f56dc09d01
commit
407c77395b
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ export class Lightbox extends React.Component<Props, {}> {
|
||||||
const isVideo = GoogleChrome.isVideoTypeSupported(contentType);
|
const isVideo = GoogleChrome.isVideoTypeSupported(contentType);
|
||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
return (
|
return (
|
||||||
<video controls>
|
<video controls={true}>
|
||||||
<source src={objectURL} />
|
<source src={objectURL} />
|
||||||
</video>
|
</video>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue