beingsane / streeme

Automatically exported from code.google.com/p/streeme
MIT License
0 stars 0 forks source link

Android HTML5 issues #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hey, thanks for all the effort- this is a great idea! I got everything setup 
pretty easily once the router played ball (and I gave up on SSL- web interface 
is OK but the streaming port won't handshake) but I'm having a bit of trouble 
with the player on Android (2.3)- clearly a lame branded ROM given how the 
iphone sim handles it.

Seems the browsers always want to render the content as a video, so I get no 
scroll bar. Neither will the video/track autoplay- although it does update the 
player information and display a track length. I'm fairly sure I know the fix 
though- I'm just getting stuck finding my way around the source. Can you guys 
point me in the direction of the files that write the html output (and briefly 
what they do) please? Seems a better option than rooting my phone.

Thanks!

Original issue reported on code.google.com by chris.ad...@gmail.com on 15 Dec 2011 at 7:26

GoogleCodeExporter commented 8 years ago
Yeah.. that's the state of HTML5 implementations for android 2.3 right now. I 
can't believe how far behind iPhone the entire platform is for HTML5 audio. If 
you feel like hacking on it, the HTML5 playback system is a simple PHP partial  
http://code.google.com/p/streeme/source/browse/trunk/apps/client/modules/player_
mobile/templates/_load_html5_player.php
You can add cases to use the audio tag and see if it will work for you, but my 
experimentaiton with android 2.x is that HTML5 audio is just not supported, so 
I defer to the video tag (probably better handled thanks to youtube/google 
connections). Ice cream sandwich shows a promising player, but it looks broken 
in the emulator - not sure how that will translate to the phone hardware. I'm 
kind of interested to see if Jplayer + flash would work better than native 
html5. I wish I had an android phone to play with. 

Original comment by chaffn...@gmail.com on 2 Jan 2012 at 10:57