Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

Expando not working correctly for .mp4 video #240

Closed happy-river closed 3 years ago

happy-river commented 4 years ago

To reproduce, post a link to an .mp4 such as this video of Eartha Kitt, and then click the expando button.

On iPhone Safari, it does nothing and on Linux, Firefox or Chrome give you audio but no video. Clicking the expando button a second or third time starts the audio again playing on top of itself, instead of stopping it. The lack of video is due to an obvious accident on line 141 of Expando.js but fixing that doesn't fix the audio problems. There is a pause button on the video player but it only stops the video, not the audio.