dermotduffy / frigate-hass-card

A Lovelace card for Frigate in Home Assistant
MIT License
460 stars 50 forks source link

iOS Fullscreen #1444

Open mishoboss opened 2 weeks ago

mishoboss commented 2 weeks ago

I know iOS webview is not supporting the fullscreen API, but I'm thinking a custom JS implementation as a workaround - take the screen size, render a DIV with that size as an overlay and render the player inside that DIV.

What do you think about such an approach? Fullscreen on iOS is really missing.

dermotduffy commented 1 week ago

Not opposed to it, but reluctant to spend limited development cycles on adding support that the vendor themselves should add (and presumably have intentionally not added at this point?). More personally, I have no iOS device to test with. If you're a developer, and wanted to prepare a PR, more than happy to support/review!

I am thinking that the existing "expanded" mode (that pops the card into a dialog) could perhaps be modified into a "fake" fullscreen ... at least this is where I'd start.