Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mosaic-audio

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mosaic-audio - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

index.js

@@ -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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc