0

I want to play videos hosted in Google drive in android application. I can play video in web browser via private url of video.

I want to know that can I use android youtube api for playing this video ?

If yes, possibly give any example..

Or suggest any other ways

Thanks

Anjali Tripathi
  • 1,477
  • 9
  • 28
compyutech
  • 578
  • 3
  • 8
  • 26
  • 3
    Sorry you cannot use youtube api to play other than youtube video, youtube api is dedicated to youtube videos only and you can play videos by passing youtube video id. – Mohd Mufiz Jul 29 '14 at 06:16

1 Answers1

0

MediaPlayer and VideoView (wrapper of MediaPlayer) should work on external video URL.

Pete Houston
  • 14,931
  • 6
  • 47
  • 60
  • Hello Sir, Thanks for reply. I have tried it before this but some problems are there because I want to play video from google drive. http://stackoverflow.com/questions/24753075/how-to-show-video-in-android-from-google-drive-url – compyutech Jul 30 '14 at 03:29