setPlayerContainerView method

Future<void> setPlayerContainerView(
  1. int viewId
)

Set the player's ContainerView, pass in TTVideoPlayerView.viewId. @see class TTVideoPlayerView

Implementation

Future<void> setPlayerContainerView(int viewId) async {
  await engineInstanceMethodChannel.invokeMethod('setPlayerContainerView', viewId);
}