buggyj / mediaplayer

MIT License
2 stars 1 forks source link

uri store inside player different than original? #19

Open buggyj opened 5 months ago

buggyj commented 5 months ago

maybe a problem in https://github.com/buggyj/mediaplayer/blob/main/widgets/mplayer.js

this line decide if we are to play a new track

if (decodeURI(player.src) != decodeURI(track)){

tried replacing with

let x = player.src||""; if (!x.includes( track)){