Skip to content

Commit

Permalink
chore(release): 1.3.1 [skip ci]
Browse files Browse the repository at this point in the history
## [1.3.1](v1.3.0...v1.3.1) (2020-10-06)

### Bug Fixes

* add controls to property ([9b5fba0](9b5fba0))
  • Loading branch information
semantic-release-bot committed Oct 6, 2020
1 parent 21bdbb5 commit 957cdde
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.3.1](https://github.com/wirths/react-responsive-video/compare/v1.3.0...v1.3.1) (2020-10-06)


### Bug Fixes

* add controls to property ([9b5fba0](https://github.com/wirths/react-responsive-video/commit/9b5fba03bc9cc3a70c7ccf0a6fbb6885b6757430))

# [1.3.0](https://github.com/wirths/react-responsive-video/compare/v1.2.5...v1.3.0) (2020-02-12)


Expand Down
8 changes: 4 additions & 4 deletions dist/index.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ function _extends() { _extends = Object.assign || function (target) { for (var i

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

/** @jsx jsx */
import React from 'react';
import PropTypes from 'prop-types';
import styled from '@emotion/styled';
import { compose, space, layout, color, flexbox } from 'styled-system';
import css from '@styled-system/css';
import shouldForwardProp from '@styled-system/should-forward-prop';
/** @jsx jsx */

import { jsx } from '@styled-system/jsx';
var propTypes = {
mp4: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
Expand All @@ -20,7 +19,8 @@ var propTypes = {
imageVideo: PropTypes.string,
objectFit: PropTypes.string,
justifyContent: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
alignItems: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
alignItems: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
controls: PropTypes.bool
};
var defaultProps = {
mp4: "",
Expand Down Expand Up @@ -67,7 +67,7 @@ var Video = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
muted: true,
loop: true,
playsInline: true,
controls: true,
controls: controls,
poster: imageVideo,
width: "100%",
css: css(_extends({
Expand Down
5 changes: 3 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ var propTypes = {
imageVideo: _propTypes["default"].string,
objectFit: _propTypes["default"].string,
justifyContent: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].array]),
alignItems: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].array])
alignItems: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].array]),
controls: _propTypes["default"].bool
};
var defaultProps = {
mp4: "",
Expand Down Expand Up @@ -80,7 +81,7 @@ var Video = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
muted: true,
loop: true,
playsInline: true,
controls: true,
controls: controls,
poster: imageVideo,
width: "100%",
css: (0, _css["default"])(_extends({
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-responsive-video",
"version": "1.3.0",
"version": "1.3.1",
"description": "A react video player with a wrapper for Vimeo and local videos",
"author": "Harald T. Wirths <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 957cdde

Please sign in to comment.