Closed chrisshaw closed 2 years ago
The video above loads in Chrome but not Safari. I believe this is because it is actually WebM video but has been given a .webm.mp4
extension and thus gets treated by Safari as an MP4 file. Can you re-upload with just the .webm
extension?
@robertknight GitHub doesn't support webm. This is a community hack for WEBM videos. So... no.
Ah, that's unfortunate. It seems this hack works in Firefox and Chrome on macOS but not Safari. I guess GitHub's video support started with MOV and MP4 because those were the most ubiquitous, albeit patent-encumbered, formats.
The issue turns out to be a more general problem with the scroll-into-view package that affects all XHTML documents. As far as I understand, all EPUBs are either XHTML or SVG documents. Solutions I am evaluating include:
Issue
When I click on an annotation card, the epub scrolls a fixed amount down away from the highlighted text.
Expected
Clicking on the card will scroll me to the highlight.
Steps to reproduce:
https://user-images.githubusercontent.com/2966918/141201606-21e6a3aa-f10d-4946-a825-cf6490f02e84.mp4