Skip to content

Commit

Permalink
Deploy version 1.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mderrick committed Jul 17, 2016
1 parent 0591602 commit caa7f54
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-html5video",
"version": "1.2.9",
"version": "1.2.10",
"homepage": "https://github.com/mderrick/react-html5video",
"authors": [
"[email protected]"
Expand Down
11 changes: 10 additions & 1 deletion dist/ReactHtml5Video.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ return /******/ (function(modules) { // webpackBootstrap
// Non-standard props
copyKeys: _react2['default'].PropTypes.object,
children: _react2['default'].PropTypes.node,
className: _react2['default'].PropTypes.string,

// HTML5 Video standard attributes
autoPlay: _react2['default'].PropTypes.bool,
Expand Down Expand Up @@ -399,6 +400,8 @@ return /******/ (function(modules) { // webpackBootstrap
* @return {string} Class string
*/
getVideoClassName: function getVideoClassName() {
var className = this.props.className;

var classString = 'video';

if (this.state.error) {
Expand All @@ -414,6 +417,9 @@ return /******/ (function(modules) { // webpackBootstrap
if (this.state.focused) {
classString += ' video--focused';
}
if (className) {
classString += ' ' + className;
}
return classString;
},

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

// If controls prop is provided remove it
// and use our own controls.
// Leave `copyKeys` here even though not used
// as per issue #36.
var _props = this.props;
var controls = _props.controls;
var copyKeys = _props.copyKeys;

var otherProps = _objectWithoutProperties(_props, ['controls']);
var otherProps = _objectWithoutProperties(_props, ['controls', 'copyKeys']);

return _react2['default'].createElement(
'div',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-html5video",
"version": "1.2.9",
"version": "1.2.10",
"description": "",
"main": "./dist/ReactHtml5Video.js",
"scripts": {
Expand Down

0 comments on commit caa7f54

Please sign in to comment.