dominickm / jupiter_broadcasting_mobile_community

The Jupiter Broadcasting community project.
Other
100 stars 17 forks source link

Video Player #26

Open ograycode opened 11 years ago

ograycode commented 11 years ago

Has anyone gotten an HTML5 video player to work? You can see my attempt here:

https://github.com/ograycode/jupiter_broadcasting_mobile_community/commit/9373de10f832bedb0cf2c971a9e1c45c64e54bc9

I tried with the following links: rtsp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream http://videocdn-us.geocdn.scaleengine.net/jblive-iphone/live/jblive.stream/playlist.m3u8

None of which worked. Anyways, I was using Ubuntu 12.04 and Chrome Version 22.0.1229.79

ShaneQful commented 11 years ago

Dude I'm not sure it would have worked anyway but the link you used in the code was "rtmp://" rather than "rtsp://"

ShaneQful commented 11 years ago

I reckon our best bet is to do what scale engine does ie.

<video autoplay="true" 
 controls="" 
 width="300" 
 height="225"
 src="http://videocdn-us.geocdn.scaleengine.net:1935/jblive-iphone/live/jblive.stream/playlist.m3u8">
</video>

I'll check it in a little while. Another thing we have to remember here is that the phone browsers have better support for this than the desktop ones.