Skip to content

Commit

Permalink
Deploy version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mderrick committed Dec 1, 2016
1 parent 0306923 commit 865641f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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.12",
"version": "1.3.0",
"homepage": "https://github.com/mderrick/react-html5video",
"authors": [
"[email protected]"
Expand Down
8 changes: 5 additions & 3 deletions dist/ReactHtml5Video.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,15 +474,17 @@ return /******/ (function(modules) { // webpackBootstrap
var _props = this.props;
var controls = _props.controls;
var copyKeys = _props.copyKeys;
var style = _props.style;

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

return _react2['default'].createElement(
'div',
{ className: this.getVideoClassName(),
tabIndex: '0',
onFocus: this.onFocus,
onBlur: this.onBlur },
onBlur: this.onBlur,
style: style },
_react2['default'].createElement(
'video',
_extends({}, otherProps, {
Expand Down Expand Up @@ -1765,7 +1767,7 @@ return /******/ (function(modules) { // webpackBootstrap
* @return {string} Timestamp in the format of HH:MM:SS
*/
formatTime: function formatTime(seconds) {
var date = new Date(null);
var date = new Date(Date.UTC(1970, 1, 1, 0, 0, 0, 0));
seconds = isNaN(seconds) ? 0 : Math.floor(seconds);
date.setSeconds(seconds);
return date.toISOString().substr(11, 8);
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.12",
"version": "1.3.0",
"description": "",
"main": "./dist/ReactHtml5Video.js",
"scripts": {
Expand Down

0 comments on commit 865641f

Please sign in to comment.