Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play HLS with HTML5 [closed]

So i'm trying to play HLS streams on HTML5 without using Flash. We've tried many video players but they all relay on a flash player. My question, is it possible to play HLS streams (any) on HTML5 without using Flash?

(I know of the https://github.com/RReverser/mpegts but it doesn't work on mobile and is pretty laggy.)

like image 344
Dallox Avatar asked May 21 '15 11:05

Dallox


2 Answers

HLS is not supported by all browsers. I use a jwPlayer which supports both flash and HTML5 streaming (when available). Support for HLS streaming unfortunately still needs to rely on Flash to work properly across various browsers. See HTML5 HLS browser support: http://www.jwplayer.com/html5/hls/

like image 166
Sixthpoint Avatar answered Oct 02 '22 13:10

Sixthpoint


HLS.js project is quite reliable nowadays (https://github.com/video-dev/hls.js/tree/master). It is suppported in the latest versions of the browsers. It does not rely on Flash. It can be used in flowplayer. hls.js is compatible with browsers supporting MSE with 'video/MP4' inputs. supported on:

  • Chrome for Android 34+
  • Chrome for Desktop 34+
  • Firefox for Android 41+
  • Firefox for Desktop 42+
  • IE11+ for Windows 8.1+
  • Edge for Windows 10+
  • Opera for Desktop
  • Vivaldi for Desktop
  • Safari for Mac 8+ (beta)
like image 41
jolumg Avatar answered Oct 02 '22 15:10

jolumg