fix(ui): Fix exception on screen rotation if fullscreen is not supported (#4669)
fix(ui): Fix exception on screen rotation if fullscreen is not supported (#4669)

If fullscreen is not supported when enableFullscreenOnRotation option is enabled, this exception occurred:

TypeError: i.j.requestFullscreen is not a function. (In 'i.j.requestFullscreen({navigationUI:"hide"})', 'i.j.requestFullscreen' is undefined)

This fixes the exception by checking isFullScreenSupported().

Co-authored-by: Joey Parrish <01f7614828b1b1d3276ee3e0e41175e15cda2e56@users.noreply.github.com>
shaka-project/shaka-player,shaka-project/shaka-player,shaka-project/shaka-player,shaka-project/shaka-player