setWebFullScreen method
Implementation
Future<void> setWebFullScreen(bool state, MeeduPlayerController _) async {
_.fullscreen.value = state;
try {
FullScreenWindow.setFullScreen(state);
} catch (e) {
if (e.toString().contains("Document not active")) {
_.customDebugPrint("Document not active ignored");
} else {
rethrow;
}
}
}