One way to solve your issue is by using AJAX requests which will allow CORS headers to be sent to servers hosting .m3u8 links. That way your browser will not complain about cross-origin requests.
Relevant Skills and Experience
I'm a Web Developer. I have skills in modern web technologies including HTML5, CSS3, JavaScript, AJAX, XML, PHP, and MySQL. I also know about Cross-Origin Resource Sharing (CORS).
Proposed Milestones
₹2000 INR - Project Completion
Kindly contact me to discuss your project before awarding it to me.