EnCiv / undebate

Not debates, but recorded online video Q&A with candidates so voters can quickly can get to know them, for every candidate, for every election, across the US.
Other
20 stars 14 forks source link

Bad experience when PC doesn't have GPU #360

Open ddfridley opened 1 year ago

ddfridley commented 1 year ago

If you play cc.enciv.org/what-is-democracy on a PC that can't use the GPU it stalls, and gets stuck. I experienced this playin it on the external monitory of a Lenovo laptop that didn't support GPU to the external monitor. Everything ran fine when the chrome window was on the internal LCD screen, but not so when it was on the external monitor.

This could be a more general case where some computer platforms don't have enough power to decode the video.
Right now, the stallWatch code thinks it's stalling because of internet bandwidth, but even if you preFecth the videos, it still doesn't play back well and gets stuck.

We need to deal with this constraint more generally. 1) turn off the placeholder loops and just use still images. 2) use a lower resolution, lower quality video - or find a way to get an adaptive player working with cloudinary. 3) ultimately, don't play the video at all and just use the audio.

The file is app/web_components/undebate.jsx but it's a giant file - the place to start is stallWatch.