Add explicit boolean

This commit is contained in:
Daniel Gasienica 2018-04-26 16:54:43 -04:00
parent f56dc09d01
commit 407c77395b

View file

@ -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>
); );