Hello guys, I'm creating a Youtube video player using Intent and it's working nice. Please note that the Intent is not a youtube intent, but a video intent (Android Video Player).
The code I'm using is:
It's working nice but if user opens another app, the video stops. I would like to keep the video playing in the background. Do I need to add some parameter to the Intent?
Thank you guys! Basic4Android rocks!!!!!!!!!!!!!!!!!!!!!
The code I'm using is:
B4X:
Dim i As Intent
i.Initialize(i.ACTION_VIEW, URLSaida)
i.SetType("video/*")
StartActivity(i)
It's working nice but if user opens another app, the video stops. I would like to keep the video playing in the background. Do I need to add some parameter to the Intent?
Thank you guys! Basic4Android rocks!!!!!!!!!!!!!!!!!!!!!