-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
功能建议:开机自动启动到托盘和关闭后缩小到托盘 #28
Comments
Ivysrono, Hello! This is the code I'm using on my website: <title>Hls.js demo - basic usage</title> <script src="[../dist/hls.js](view-source:https://hls-js.netlify.app/dist/hls.js)"></script>Hls.js demo - basic usage<script> var video = document.getElementById('video'); if (Hls.isSupported()) { var hls = new Hls({ debug: true, }); hls.loadSource('https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MEDIA_ATTACHED, function () { video.muted = true; video.play(); }); } // hls.js is not supported on platforms that do not have Media Source Extensions (MSE) enabled. // When the browser has built-in HLS support (check using `canPlayType`), we can provide an HLS manifest (i.e. .m3u8 URL) directly to the video element through the `src` property. // This is using the built-in support of the plain video element, without using hls.js. else if (video.canPlayType('application/vnd.apple.mpegurl')) { video.src = 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8'; video.addEventListener('canplay', function () { video.play(); }); } </script> |
@eduardonm You can try Viewhance which native supports DASH, HLS, MSS streaming (if the browser can support it). |
Hello again, thanks for your attention! Its extension "HLS.js Playback" is great, the idea is to use it directly in the code of the site that will play the m3u8.(https://api.new.livestream.com/accounts/22300522/events /6680139/ live.m3u8"). Is there such a possibility, if so, which files should I use in the server directory? 300: jar:http://my.site.com.br/hlsjsplayback/ 200: filename content-length last-modified file-type I imagine the address embed into the iframe to play the m3u8 would be: <iframe width="100%" height="480" src="https://my.site.com.br/hlsjsplayback/player.html#https://api.new.livestream.com/accounts/22300522/events/6680139/live.m3u8" frameborder="0" allow="autoplay" allowfullscreen></iframe> |
I don't know. |
|
类似everything
The text was updated successfully, but these errors were encountered: