Agenda
https://www.nginx.com/wp-content/uploads/2018/12/NGINX-Conf-2018-slides_Choi-streaming.pdf
– Introduction to streaming
– Turn NGINX into a streaming server
– HLS/DASH VOD by NGINX – How?
– Supporting HLS 7
– Encrypting HLS
– High-bitrate streaming (4K/8K UHD) by NGINX
– Low-latency live by NGINX
Tag Archives: hls
Flowplayer – HLS – data-key
I’m setting up a HTML5 HLS video player with flowplayer.
Looks like data-key isn’t working, this way I can’t have the ‘professional’ features…
To solve I had to set it via javascript/jquery.
<script> flowplayer.conf = { key: "$..." }; </script>
As seen on https://flowplayer.org/i/flowplayer/setup:flashhls-data-key
ERROR:HLSError – Cannot load M3U8: crossdomain access denied:Error #2048
ERROR:HLSError(code/url/msg)=1/http://www.domain.com/tutorials/laravel_facade/hls.m3u8/Cannot load M3U8: crossdomain access denied:Error #2048 VM1749:1 INFO:HLSNetStream:close
This is my crossdomain.xml example…
<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" secure="false" /> <allow-http-request-headers-from domain="*" headers="*" secure="false"/> </cross-domain-policy>