[SMM] Autoplay
im using SMM to play a video. Is it possible to autostart the video and hide the control bar?
www.b4x.com
B4X:
MediaManager.SetMediaWithExtra(Pane2, "https://tv.sohu.com/v/dXMvMzQ2NjQyMTAzLzM5NjQyNTc1NS5zaHRtbA==.html", "", CreateMap(MediaManager.REQUEST_CALLBACK: Me))
Wait For (Pane2) SMM_MediaReady (Success As Boolean, Media As SMMedia)
Dim playerview As SimpleExoPlayerView = Pane2.GetView(0).GetView(0)
playerview.UseController = False
Dim player As SimpleExoPlayer = playerview.Tag
player.Play
Can a friend who knows help modify this code? Thank you so much!