broskoski / mac.are.na

Are.na channel -> playlist
MIT License
45 stars 11 forks source link

Fix bug in safari where song does not play audio #13

Closed broskoski closed 6 years ago

g-a-v-i-n commented 6 years ago

my only lead on this is that it has something to do with localhost requesting from http vs prod requesting from https hmm wait prod also requests from http

broskoski commented 6 years ago

Actually think it might be something here: https://github.com/CookPete/react-player/issues/76

Though I did notice if this attribute https://github.com/broskoski/mac.are.na/blob/master/src/components/playlist_player.js#L25 is false it works fine in Safari.

g-a-v-i-n commented 6 years ago

Ok, that seemed to be causing the problem. I solved this by making the player visible and hiding it in it's style attr