mirror of
https://github.com/datarhei/restreamer.git
synced 2025-12-12 06:24:08 +01:00
Merge pull request #6 from andrew-shulgin/patch-1
Add SSL proxy support in Player frame
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<script>
|
||||
var player = new Clappr.Player({
|
||||
source: "http://" + window.location.hostname + ":" + window.location.port + "/hls/live.stream.m3u8",
|
||||
source: ("https:" === window.location.protocol ? "https:" : "http:") + "//" + window.location.hostname + ":" + window.location.port + "/hls/live.stream.m3u8",
|
||||
parentId: "#player",
|
||||
baseUrl: '/libs/clappr/dist/',
|
||||
poster: "images/live.jpg",
|
||||
|
||||
Reference in New Issue
Block a user