示例#1
0
 /// <summary>
 /// Set allow auto play for current web view. By default,
 /// users need to touch the play button to start playing a media resource.
 /// By setting this to `true`, you could start the playing automatically through
 /// corresponding media tag attributes.
 /// </summary>
 /// <param name="flag">A flag indicates whether autoplaying of media is allowed or not.</param>
 public static void SetAllowAutoPlay(bool flag)
 {
     UniWebViewInterface.SetAllowAutoPlay(flag);
 }