How can I play the HLS stream in an HTML5 Video.JS player? I find examples where this source is:
<source src="http://server/hls/stream007.m3u8" type='video/mp4' />
<source src="http://server/hls/stream007.m3u8" type='application/vnd.apple.mpegurl' />
<source src="http://server/hls/stream007.m3u8" type='application/x-mpegURL' />
Can someone help me?
To use HLS in browsers that support it (Safari, iOS, some androids), use "application / x-mpegURL". You still need to provide mp4 backup for browsers that do not support HLS. HLS support in other browsers is currently working.
I know this is an old post, but what could you do if you want a buffer and follow these steps.
.m3u8, . mp4 ffmpeg, . , .
You can use a Kaltura player that plays HLS using a flash component that works with IE8 and uses native video playback on ios and Android 4+ devices.
just use mangui custom videojs flash player
https://github.com/mangui/video-js-swf