Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc52f3eb

Browse files
committed
Fix wrong URL in hls.html example
1 parent47f32a5 commitc52f3eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎www/hls.html‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
<videoid="video"autoplaycontrolsplaysinlinemuted></video>
2222
<script>
2323
// http://192.168.1.123:1984/hls.html?src=demo&mp4
24-
// const url = new URL('api/stream.m3u8' + location.search, location.href);
25-
consturl='http://192.168.10.5:1984/api/stream.m3u8?src=rtsp-dahua2&mp4';
24+
consturl=newURL('api/stream.m3u8'+location.search,location.href);
2625

2726
constvideo=document.getElementById('video');
2827
if(Hls.isSupported()){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp