Hi,

I have a listview that populated at runtime based on server response.
I want to play youtube video in webview on click of list items.

Can anybody let me know in detail how can I use <video> tag of HTML5
in android.

Thanks & Regards,
Sanjay Ujjainkar



---------- Forwarded message ----------
From: Sohil
Date: Tue, 4 Jan 2011 04:48:17 -0800 (PST)
Subject: Re: How to play youtube videos within custom android activity
To: [email protected]

Hi,

Try using <video> element of HTML5, though its experimental. but it
will
help for your problem
put the webview component and load the static file with dynamic url
to
webview.
It wont work for all the video that would be the limitation.
Its supported in android 2.0+ .

<video id="video" autobuffer height="240" width="360">
<source src="BigBuck.m4v">
<source src="BigBuck.webm" type="video/webm">
<source src="BigBuck.theora.ogv" type="video/ogg">
</video>




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to