[android-developers] Re: Android video and the browser

2009-07-18 Thread RaviY

Have the link as http://my.web.page./my_clip.mp4 on your webpage. When
the user clicks on it, the link would be passed to the mediaplayer.
Note that not all mimetypes are recognized by the mediaplayer.

-Ravi

On Jul 17, 2:43 pm, Jason Proctor 
wrote:
> >I was under the impression the OP wasn't an Android developer. Click
> >handlers and MediaPlayers wouldn't be an option for somebody just trying
> >to make their Web site more Android browser-friendly.
>
> >OTOH, I may have interpreted the OP incorrectly...
>
> no it's me that has it wrong. apologies to the OP.
>
> offhand i don't know good HTML for playing vid in the Android
> browser. roll on .
>
> --
> jason.software.particle
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android video and the browser

2009-07-17 Thread sjol

How do I install a click handler ? is there and Android javascript lib
for that ? My goal is to make so any user not just myself, and without
to much hassel, can play the films. is HTML5 in cupcake yet?

On Jul 17, 3:17 pm, Jason Proctor 
wrote:
>  is coming, hopefully soon. that's if Apple stop messing it up.
>
> until then, you can do this the long way round. install a click
> handler then when a link to your video fires, route off to your
> activity which plays the movie using MediaPlayer.
>
> not so much work.
>
> >This may not be the proper place but I've yet to find the answer! How
> >should I develop website so that when a user click on a link to my
> >video it will play ? Embed codes work on the iPhone, but they display
> >a broken plugin sign on the android and the gears concept doesn't
> >enable me to tell the bowser to load it in the media player. I tried
> >putting a direct link to the file but it does nothing.
>
> >I just want to enable android users to view films from my web site!
> >we've managed to do it for the iphone so ... why not ?
>
> >Cheers,
>
> >Stephane
>
> --
> jason.software.particle
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android video and the browser

2009-07-17 Thread Mark Murphy

Jason Proctor wrote:
>  is coming, hopefully soon. that's if Apple stop messing it up.
> 
> until then, you can do this the long way round. install a click 
> handler then when a link to your video fires, route off to your 
> activity which plays the movie using MediaPlayer.
> 
> not so much work.

I was under the impression the OP wasn't an Android developer. Click
handlers and MediaPlayers wouldn't be an option for somebody just trying
to make their Web site more Android browser-friendly.

OTOH, I may have interpreted the OP incorrectly...

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

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



[android-developers] Re: Android video and the browser

2009-07-17 Thread Jason Proctor

 is coming, hopefully soon. that's if Apple stop messing it up.

until then, you can do this the long way round. install a click 
handler then when a link to your video fires, route off to your 
activity which plays the movie using MediaPlayer.

not so much work.



>This may not be the proper place but I've yet to find the answer! How
>should I develop website so that when a user click on a link to my
>video it will play ? Embed codes work on the iPhone, but they display
>a broken plugin sign on the android and the gears concept doesn't
>enable me to tell the bowser to load it in the media player. I tried
>putting a direct link to the file but it does nothing.
>
>I just want to enable android users to view films from my web site!
>we've managed to do it for the iphone so ... why not ?
>
>Cheers,
>
>Stephane


-- 
jason.software.particle

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



[android-developers] Re: Android video and the browser

2009-07-17 Thread Mark Murphy

sjol wrote:
> either a plugin or the one that seems to play when I browse the
> youtube site ... it looks to me like there is a default player, am I
> wrong ?

There is the YouTube application, which plays YouTube videos.

There are video player *engines*, but these are not available as an
application built into Android. They are designed for other developers
to create video applications.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in Germany, 18-22 January 2010: http://bignerdranch.com

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



[android-developers] Re: Android video and the browser

2009-07-17 Thread sjol

either a plugin or the one that seems to play when I browse the
youtube site ... it looks to me like there is a default player, am I
wrong ?

On Jul 17, 2:10 pm, Mark Murphy  wrote:
> sjol wrote:
> > This may not be the proper place but I've yet to find the answer! How
> > should I develop website so that when a user click on a link to my
> > video it will play ? Embed codes work on the iPhone, but they display
> > a broken plugin sign on the android and the gears concept doesn't
> > enable me to tell the bowser to load it in the media player. I tried
> > putting a direct link to the file but it does nothing.
>
> > I just want to enable android users to view films from my web site!
> > we've managed to do it for the iphone so ... why not ?
>
> What video player application were you expecting to play the video?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Training in Germany, 18-22 January 2010:http://bignerdranch.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android video and the browser

2009-07-17 Thread Mark Murphy

sjol wrote:
> This may not be the proper place but I've yet to find the answer! How
> should I develop website so that when a user click on a link to my
> video it will play ? Embed codes work on the iPhone, but they display
> a broken plugin sign on the android and the gears concept doesn't
> enable me to tell the bowser to load it in the media player. I tried
> putting a direct link to the file but it does nothing.
> 
> I just want to enable android users to view films from my web site!
> we've managed to do it for the iphone so ... why not ?

What video player application were you expecting to play the video?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in Germany, 18-22 January 2010: http://bignerdranch.com

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