After a MediaPlayer view has been used to play video, you can hide it and display it again by using a TVSDK method or manually.
You must pause a video before clearing it or moving it from the display.
MediaPlayer.clearVideo
and replace the frame later.
MediaPlayer.clearVideo
.MediaPlayer
so that it can be played again, call replaceCurrentResource
or replaceCurrentItem
.MediaPlayer
view off the screen and move it back later without having to replace it.
Pause the video that you want to hide.
Move the view out of the stage. For example:
view.x = -300;
view.y = -300;
To display the video again, move the view back into the stage.