im using SMM to play a video. Is it possible to autostart the video and hide the control bar?
I follow the example code given by Erel, the test can be played, but if I change MP4 to the URL, it cannot be played,
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
Running prompts the following error
View attachment 142743
Can a friend who knows help modify this code? Thank you so much!