Skip to content

Commit 865641f

Browse files
committed
Deploy version 1.3.0
1 parent 0306923 commit 865641f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
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.12",
3+
"version": "1.3.0",
44
"homepage": "https://github.com/mderrick/react-html5video",
55
"authors": [
66

dist/ReactHtml5Video.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,17 @@ return /******/ (function(modules) { // webpackBootstrap
474474
var _props = this.props;
475475
var controls = _props.controls;
476476
var copyKeys = _props.copyKeys;
477+
var style = _props.style;
477478

478-
var otherProps = _objectWithoutProperties(_props, ['controls', 'copyKeys']);
479+
var otherProps = _objectWithoutProperties(_props, ['controls', 'copyKeys', 'style']);
479480

480481
return _react2['default'].createElement(
481482
'div',
482483
{ className: this.getVideoClassName(),
483484
tabIndex: '0',
484485
onFocus: this.onFocus,
485-
onBlur: this.onBlur },
486+
onBlur: this.onBlur,
487+
style: style },
486488
_react2['default'].createElement(
487489
'video',
488490
_extends({}, otherProps, {
@@ -1765,7 +1767,7 @@ return /******/ (function(modules) { // webpackBootstrap
17651767
* @return {string} Timestamp in the format of HH:MM:SS
17661768
*/
17671769
formatTime: function formatTime(seconds) {
1768-
var date = new Date(null);
1770+
var date = new Date(Date.UTC(1970, 1, 1, 0, 0, 0, 0));
17691771
seconds = isNaN(seconds) ? 0 : Math.floor(seconds);
17701772
date.setSeconds(seconds);
17711773
return date.toISOString().substr(11, 8);

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.12",
3+
"version": "1.3.0",
44
"description": "",
55
"main": "./dist/ReactHtml5Video.js",
66
"scripts": {

0 commit comments

Comments
 (0)