Website demo video doesn't play in Chrome
On my laptop and phone, the demo at https://mroth.github.io/scmpuff/ does not play.
Does this support ls file shortcuts, like scm_breeze does?
Hi @HaleTom -- what browser/OS for laptop/phone is this happening in?
Latest Chrome on Android is one.
Latest Chrome on Arch Linux is the other.
I can reproduce the website issue in Chrome on macOS. It looks like Chrome must have changed something about how video autostart functions.
Does this support ls file shortcuts, like scm_breeze does?
By design, by default we do not wrap any shell comments other than git. I consider wrapping cd, ls and/or other critical navigation commands to be too risky. You can wrap them yourself to use scmpuff expand if you desire though, see #41 for some ideas.
Chrome issue may be related to: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
I think the best approach for a variety of reasons would be to replace this entirely with an animated SVG, like I have on https://github.com/mroth/bump.
These are relatively easy to make now, but I would need to re-record the demo. (If someone wants to replicate the demo and record it for me, let me know and I can provide you with the steps!)
@mroth add the controls attribute to video tag in index.html to show video controllers.
Maybe it's a good temporary solution.
