Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to display Youtube Video in android VideoView? [closed]

Tags:

android

I am working android application.How can i play youtube in android videoview.help me........

Thanks............

like image 213
user533787 Avatar asked Feb 01 '11 15:02

user533787


People also ask

How do I make Android videos full screen?

Tap the video you'd like to watch. At the bottom of the video player, tap full screen .

Does YouTube use ExoPlayer?

Screenshot: The YouTube Android app, which uses ExoPlayer as its video player. ExoPlayer is an app-level media player built on top of low-level media APIs in Android. It is an open source project used by Google apps, including YouTube and Google TV.

How do you view videos on Android?

On your Android phone or tablet, open the Google Drive app. At the top, tap Search Drive. In the list, tap Videos. To play your video, tap the one you want to watch.


1 Answers

You should read through the YouTube APIs and Tools documentation, specifically about Feeds and Entries. From the feed you should be able to parse the actual .3gp video stream URL, which you can then play back using the standard MediaPlayer with a VideoView.

like image 90
LeffelMania Avatar answered Sep 18 '22 09:09

LeffelMania