Skip to content

Commit

Permalink
Update VideoDeviceFrame
Browse files Browse the repository at this point in the history
Use react-html5video default player.
  • Loading branch information
farazcsk committed Nov 13, 2017
1 parent e426b3a commit 76b17f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/DeviceFrame/VideoDeviceFrame.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import PropTypes from 'prop-types';
import React from 'react';
import ReactVideo from 'react-html5video';

import { DefaultPlayer as ReactVideo } from 'react-html5video';

const VideoDeviceFrame = ({ children: source, deviceImage, css, ...rest }) => (
<div className={ css.root }>
Expand All @@ -13,7 +14,7 @@ const VideoDeviceFrame = ({ children: source, deviceImage, css, ...rest }) => (
<ReactVideo
{ ...rest }
className={ css.video }
controls={ false }
controls={ [] }
autoPlay
muted
>
Expand Down

0 comments on commit 76b17f4

Please sign in to comment.