mosaic-audio
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -28,2 +28,3 @@ 'use strict'; | ||
hoverClass: _react2.default.PropTypes.string, | ||
loop: _react2.default.PropTypes.bool, | ||
margin: _react2.default.PropTypes.bool, | ||
@@ -55,2 +56,3 @@ playClass: _react2.default.PropTypes.string, | ||
hoverClass: 'mosaic-hover', | ||
loop: false, | ||
margin: false, | ||
@@ -200,3 +202,3 @@ playClass: 'mosaic-play-button', | ||
'audio', | ||
{ id: _u2.default.newId(this.props.playerId), preload: 'true', onDurationChange: this.returnDuration, onTimeUpdate: this.updateTime }, | ||
{ id: _u2.default.newId(this.props.playerId), preload: 'true', onDurationChange: this.returnDuration, onTimeUpdate: this.updateTime, loop: this.props.loop }, | ||
_react2.default.createElement('source', { src: this.props.source }) | ||
@@ -203,0 +205,0 @@ ), |
{ | ||
"name": "mosaic-audio", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A React audio wrapper for the HTML media element.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,3 +7,3 @@ # Mosaic Audio | ||
Supply a player ID, a source file, a margin boolean, a hover boolean, and CSS class names for each nested element. If no class names or ID's are given, default classes/ID's are created. The margin property is used to determine whether or not the playhead moves via margin change or via padding change. If the margin is marked as false, it'll move by increasing padding. Its default value is true. Hover is used to add an option for mouseover progress selection. This is set to true in the demo. | ||
Supply a player ID, a source file, a margin boolean, a hover boolean, a loop boolean, and CSS class names for each nested element. If no class names or ID's are given, default classes/ID's are created. The margin property is used to determine whether or not the playhead moves via margin change or via padding change. If the margin is marked as false, it'll move by increasing padding. Its default value is true. Hover is used to add an option for mouseover progress selection. This is set to true in the demo. | ||
@@ -10,0 +10,0 @@ Other available properties: playerId, playerClass, timelineClass, playheadClass, & durationClass. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11764
232