Skip to content

Commit caa7f54

Browse files
committed
Deploy version 1.2.10
1 parent 0591602 commit caa7f54

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-html5video",
3-
"version": "1.2.9",
3+
"version": "1.2.10",
44
"homepage": "https://github.com/mderrick/react-html5video",
55
"authors": [
66

dist/ReactHtml5Video.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ return /******/ (function(modules) { // webpackBootstrap
149149
// Non-standard props
150150
copyKeys: _react2['default'].PropTypes.object,
151151
children: _react2['default'].PropTypes.node,
152+
className: _react2['default'].PropTypes.string,
152153

153154
// HTML5 Video standard attributes
154155
autoPlay: _react2['default'].PropTypes.bool,
@@ -399,6 +400,8 @@ return /******/ (function(modules) { // webpackBootstrap
399400
* @return {string} Class string
400401
*/
401402
getVideoClassName: function getVideoClassName() {
403+
var className = this.props.className;
404+
402405
var classString = 'video';
403406

404407
if (this.state.error) {
@@ -414,6 +417,9 @@ return /******/ (function(modules) { // webpackBootstrap
414417
if (this.state.focused) {
415418
classString += ' video--focused';
416419
}
420+
if (className) {
421+
classString += ' ' + className;
422+
}
417423
return classString;
418424
},
419425

@@ -443,10 +449,13 @@ return /******/ (function(modules) { // webpackBootstrap
443449

444450
// If controls prop is provided remove it
445451
// and use our own controls.
452+
// Leave `copyKeys` here even though not used
453+
// as per issue #36.
446454
var _props = this.props;
447455
var controls = _props.controls;
456+
var copyKeys = _props.copyKeys;
448457

449-
var otherProps = _objectWithoutProperties(_props, ['controls']);
458+
var otherProps = _objectWithoutProperties(_props, ['controls', 'copyKeys']);
450459

451460
return _react2['default'].createElement(
452461
'div',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-html5video",
3-
"version": "1.2.9",
3+
"version": "1.2.10",
44
"description": "",
55
"main": "./dist/ReactHtml5Video.js",
66
"scripts": {

0 commit comments

Comments
 (0)