podlove / podlove-web-player

Podlove Web Player is a Podcast-optimized, HTML5-based audio player based on VueJS.
https://docs.podlove.org/podlove-web-player/
Other
354 stars 69 forks source link

Play / Pause and control steppers not working #915

Closed aalbagarcia closed 4 years ago

aalbagarcia commented 4 years ago

Hi,

First of all, I want to thank you for this wonderful player!!

I'm trying to use the Podlove Web Player inside one of our projects. I could install it and play our mp3 files. However, there is some weird behavior with the pause and the stepper buttons.

You can have a look at it in this codepen

I found out that in the same codepen if I use the same audio file you use in the documentation and examples (for example here) the buttons work as expected. I guess that I'm missing some headers or configuration in our server, but I don't know what I'm doing wrong. I tried adding the content-length header which was missing, but the buttons were not working.

Any suggestions would be really appreciated.

Thanks.

aalbagarcia commented 4 years ago

...ok. I´ve been digging deeper into this issue. The thing is that the mp3 files are served through a remote proxy (nginx) that requests the files to a Ruby on Rails application. I do it this way because the files are protected; the rails application should check your permissions before letting you access the files.

I tried to serve the mp3 files directly from Nginx and the player works as expected.

aalbagarcia commented 4 years ago

Ok, I think I've found the problem. As I guessed, it's related to the nginx / rails configuration. This stack overflow question describes the problem. I still haven't fixed it, but I think I'm on track.

I close the issue since it has nothing to do with the player