Skip to content

Comment on Show HN: HTML5 Video Player in TypeScriptparent

Comments

As long as you're taking feedback (I don't mean to be overwhelming!) - any idea why exiting fullscreen resets the scroll position to 0?

Try scrolling down to the player, entering fullscreen, hitting Escape, you're back to the top of the page.

matvpOP

Noticed it too, I have no idea yet. I use a wrapper around the native Fullscreen API's (https://github.com/sindresorhus/screenfull.js/) and it doesn't do anything fancy. Interesting, I'll have a look at it but I'll put it lower on my prio list if you don't mind.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.