Searching in the forums I found this thread of @MarcoRome and tried to get an Exoplayer to play a direct video link. It did not work and I asked him why. After what he told me I read the post where he mentions the following:
I tried this and indeed it added the video in an Android TV app but I was not able to play it immediately. I thought it was exoplayer but it seems it is not. So my questions are:
1) What view does SMM use to present a youtube video (since I removed the SMM_VIDEO conditional and the Exoplayer library from the project) ?
2) How is it possible to manipulate this in Android TV (start/stop/move cursor). I did manage to get it started at last but if the user needs to do what i did to start a video he will through me the remote control on my head... (I pressed the right then down and down and Ok).
[B4X] DL Youtube ExoPlayer
UPDATE 1.22 ( "change" parameters call get_video_info ) BUGFIX UPDATE 1.21 ( "change" Format File json get_info for B4i ) BUGFIX UPDATE 1.20 ( "change" API Youtube ) see: https://www.b4x.com/android/forum/threads/resolved-get_video_info-youtube.131129/#post-825579 Hi All. We all know the...
www.b4x.com
I tried this and indeed it added the video in an Android TV app but I was not able to play it immediately. I thought it was exoplayer but it seems it is not. So my questions are:
1) What view does SMM use to present a youtube video (since I removed the SMM_VIDEO conditional and the Exoplayer library from the project) ?
2) How is it possible to manipulate this in Android TV (start/stop/move cursor). I did manage to get it started at last but if the user needs to do what i did to start a video he will through me the remote control on my head... (I pressed the right then down and down and Ok).