I'm not JavaScript guy but I have project with js and plugin VIDEOJS (Video.js v4.6.4 Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/).
I recived an error:
video.dev.js:1384 VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The video could not be loaded, either because the server or network failed or because the format is not supported.
I know that solved of this problem can be put: <source src="video/test.m3u8" type="application/x-mpegURL">. but my question is, how to do this.