musicplayer-io / redditmusicplayer

:musical_note: A free and open-source streaming music web player using data from Reddit
https://reddit.musicplayer.io/
GNU General Public License v3.0
419 stars 50 forks source link

Soundcloud doesn't play #77

Open Trylobot opened 5 years ago

Trylobot commented 5 years ago

Soundcloud posts don't seem to autoplay; they just stop the player until I manually go and hit play again, and then a second time. I see the soundcloud player flash, and then start playing.

Like this one: https://www.reddit.com/r/chillstep/comments/bf50bz/big_gigantic_feat_angela_mccluskey_the_little/

Illyism commented 5 years ago

Yeah, it's because Chrome has disabled "autoplay" on all media content - This would be fixed with a refactor that adds the embedded elements on start, then plays them and never destroys the iframes.

Now they're destroyed when switching between YT / Soundcloud