react-howler
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
# 3.8.0 - 2020-09-01 | ||
- Added: Support `xhrWithCredentials` (#77) | ||
# 3.7.5 - 2020-08-14 | ||
@@ -2,0 +6,0 @@ |
@@ -77,2 +77,3 @@ 'use strict'; | ||
src: props.src, | ||
xhrWithCredentials: props.xhrWithCredentials, | ||
format: props.format, | ||
@@ -318,2 +319,3 @@ mute: props.mute, | ||
format: _propTypes2.default.arrayOf(_propTypes2.default.string), | ||
xhrWithCredentials: _propTypes2.default.bool, | ||
playing: _propTypes2.default.bool, | ||
@@ -337,2 +339,3 @@ mute: _propTypes2.default.bool, | ||
format: [], | ||
xhrWithCredentials: false, | ||
mute: false, | ||
@@ -339,0 +342,0 @@ preload: true, |
{ | ||
"name": "react-howler", | ||
"version": "3.7.5", | ||
"version": "3.8.0", | ||
"description": "A React.js wrapper for howler.js (audio player)", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -69,2 +69,3 @@ # react-howler | ||
format | [] | howler.js automatically detects your file format from the extension, but you may also specify a format in situations where extraction won't work (such as with a SoundCloud stream). | ||
xhrWithCredentials | false | Set to `true` if you want `withCredentials` flag on XHR request. [see reference](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials). | ||
onPlay | noop | Called when audio starts or resumes playing | ||
@@ -71,0 +72,0 @@ onPause | noop | Called when audio is paused |
23387
1.7%303
1%172
0.58%