closeAllMediaPresentations method

Future<void> closeAllMediaPresentations()

Closes all media the web view is presenting, including picture-in-picture video and fullscreen video.

NOTE for iOS: available on iOS 14.5+.

NOTE for MacOS: available on MacOS 11.3+.

Officially Supported Platforms/Implementations:

Implementation

Future<void> closeAllMediaPresentations() {
  throw UnimplementedError(
      'closeAllMediaPresentations is not implemented on the current platform');
}