The media player currently does not support https. On Jul 13, 7:18 pm, zhao <zhaoyang...@gmail.com> wrote: > I am trying to stream video over https from Android browser. If the > video url is http, everything works fine. But when I switch the url to > https, no video can be played. I tried 2 methods to stream over http/ > https through Android browser. > > 1. Use html5 Video tag on browser (Android 2.0+ device) and call > video.play( ) from javascript. > - With Https url. Browser launches media player and the player > displays alert dialog saying “Can’t play video”. I captured the client > TCP traffic and found no SSL handshake between client and server. It > looks like the player pops up the alert on any https link. > - With Http url. Browser launches media player and the player can > stream the video successfully. > > 2. Use direct link of html <a> tag on browser and click the link > - With Https url. Browser downloads the video file without launching > the player. The browser seems not try to load any https link in media > player. > - With Http url. Browser launches media player and the player can > stream the video successfully. > > So the above tests make me think Android media player cannot play > media from any https url. Is it the expected behavior? Can someone > give me clues? > > Thanks for helping! > > Regards, > Zhao
-- 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