The question is easy :)
I want to start a youtube video from a defined starting position.
In a regular browser, you can achieve this by appending a #t=1m20s at the end of the url like in:
http://www.youtube.com/watch?v=HKdsra1O20Y#t=30m10s
But If I use that URL in the Intent, the Android player is not putting the start at that point.
I'm using this to launch the activity:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=HKdsra1O20Y#t=30m10s")));
But the video starts from the begining :(
Thanks
You can easily use the Google Gdata api to call down a youtube 3gp video, then all you do is load the 3gp in a MediaPlayer instance which you can easily use its seekTo method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With