Skip to content

Commit 2966e25

Browse files
committed
add new todo
1 parent 8076b33 commit 2966e25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ things I intend to add some day or if you want to help but are not sure what to
464464

465465
if you are interested in helping out 😊 by working on one of the following TODOs, please start by reading the ["contributing"](#contributing-prs-welcome) chapter above
466466

467+
* add an option to the sound to allow setting a custom media element for audio element mode!? similar to arraybuffer and soundbuffer for ajax mode
467468
* for audio mode, add option for songs "crossOrigin" to be set to "use-credentials" [HTML attribute: crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) instead of "anonymous", "anonymous" could be kept as default value, also do the same for XHR calls (ajax mode) [XMLHttpRequest: withCredentials property](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials)
468469
* add a song feature to fade out (current song) / fade in (next song) maybe two new options fadeInDuration and fadeOutDuration would be enough, if the values are set we do a fade
469470
* add onDurationChange / onLoopChange callbacks to song(s)!?

0 commit comments

Comments
 (0)