By J Anthony @senseiweb
Hey team -- fullscreen mode for Safari seems to be broken. Here is the console log...I believe it's because the requestFullScreen has to be prefixed with webkit for Safari
https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen -- any thoughts on a fix or workaround?
this.shadowRoot
.querySelector(".screen-wrapper")
.requestFullscreen is not a function.
- Michael Lynch @michael2021-12-09 21:22:01.992Z
Thanks for reporting this! I've filed a bug to track this here:
https://github.com/tiny-pilot/tinypilot/issues/851
As a workaround, you could SSH in and run this command to patch your version to use the Safari-compatible version:
sudo sed -i -e 's/requestFullscreen/webkitRequestFullscreen/g' \ /opt/tinypilot/app/templates/custom-elements/remote-screen.html