Attempts to place the given HTML element into fullscreen mode.
This function handles browser compatibility by trying the standard
requestFullscreen() API first, then falling back to vendor-prefixed
versions for Safari, IE11, and Firefox.
Any errors from the standard promise-based fullscreen request are caught
and logged using logger.logPromiseFailed.
Attempts to place the given HTML element into fullscreen mode. This function handles browser compatibility by trying the standard
requestFullscreen()API first, then falling back to vendor-prefixed versions for Safari, IE11, and Firefox. Any errors from the standard promise-based fullscreen request are caught and logged usinglogger.logPromiseFailed.