@@ -149,6 +149,7 @@ return /******/ (function(modules) { // webpackBootstrap
149
149
// Non-standard props
150
150
copyKeys : _react2 [ 'default' ] . PropTypes . object ,
151
151
children : _react2 [ 'default' ] . PropTypes . node ,
152
+ className : _react2 [ 'default' ] . PropTypes . string ,
152
153
153
154
// HTML5 Video standard attributes
154
155
autoPlay : _react2 [ 'default' ] . PropTypes . bool ,
@@ -399,6 +400,8 @@ return /******/ (function(modules) { // webpackBootstrap
399
400
* @return {string } Class string
400
401
*/
401
402
getVideoClassName : function getVideoClassName ( ) {
403
+ var className = this . props . className ;
404
+
402
405
var classString = 'video' ;
403
406
404
407
if ( this . state . error ) {
@@ -414,6 +417,9 @@ return /******/ (function(modules) { // webpackBootstrap
414
417
if ( this . state . focused ) {
415
418
classString += ' video--focused' ;
416
419
}
420
+ if ( className ) {
421
+ classString += ' ' + className ;
422
+ }
417
423
return classString ;
418
424
} ,
419
425
@@ -443,10 +449,13 @@ return /******/ (function(modules) { // webpackBootstrap
443
449
444
450
// If controls prop is provided remove it
445
451
// and use our own controls.
452
+ // Leave `copyKeys` here even though not used
453
+ // as per issue #36.
446
454
var _props = this . props ;
447
455
var controls = _props . controls ;
456
+ var copyKeys = _props . copyKeys ;
448
457
449
- var otherProps = _objectWithoutProperties ( _props , [ 'controls' ] ) ;
458
+ var otherProps = _objectWithoutProperties ( _props , [ 'controls' , 'copyKeys' ] ) ;
450
459
451
460
return _react2 [ 'default' ] . createElement (
452
461
'div' ,
0 commit comments