initialMediaPlaybackPolicy property

AutoMediaPlaybackPolicy initialMediaPlaybackPolicy
final

Which restrictions apply on automatic media playback.

This initial value is applied to the platform's webview upon creation. Any following changes to this parameter are ignored (as long as the state of the WebView is preserved).

The default policy is AutoMediaPlaybackPolicy.require_user_action_for_all_media_types.

Implementation

final AutoMediaPlaybackPolicy initialMediaPlaybackPolicy;