🦄 Captions above the bar: Mantine Video 1.2.13
Hey everyone 👋
I was filming a tutorial on Mantine Video, and watching the player frame by frame turned up four bugs no test had caught.
The one you would notice first: captions were hiding under the control bar. Browsers paint them at the bottom of the video, which is exactly where an overlay bar sits. My first fix moved each caption up with the WebVTT API, and Chrome placed them by their top edge instead of their bottom, ignoring the alignment I asked for. So now the player measures how much of the video the bar covers and lifts the browser's whole captions area above it while the bar shows.
The sneaky one: with several video sources, the fallback kicked in on the first failure, while a working source was still waiting its turn. React passes a failing source's error up to the video element, so it looked like the whole video had failed. It now waits for every source.
Also fixed: the time display was white on white in two variants, and the keyboard volume drifted by a floating-point hair.
1.2.13 is out. Do you leave captions to the browser in your players, or render them yourself?
📚 Docs: https://gfazioli.github.io/mantine-video
📦 npm: https://www.npmjs.com/package/@gfazioli/mantine-video


p/reso
p/zush
p/meridian-16
p/producthunt
p/google-cloud-platform
p/kodlo
p/beamfy
p/netclicker
p/faraday-4
p/neoagent
p/expert-chase-deleted-1107920
p/runevr
p/gatrends
p/kanbanq
p/truedraft-cad
p/findergit
p/thebold
p/orbit-app-blocker
p/cleared-quit-nicotine
p/lancetta
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.