Showing
2 changed files
with
3 additions
and
1 deletions
@@ -119,6 +119,7 @@ const fetchReplayInfo = (videoID) => { | @@ -119,6 +119,7 @@ const fetchReplayInfo = (videoID) => { | ||
119 | d.master_pic = helpers.image(d.master_pic, 180, 180); | 119 | d.master_pic = helpers.image(d.master_pic, 180, 180); |
120 | d.living = 3; // 自定义的重播 状态 | 120 | d.living = 3; // 自定义的重播 状态 |
121 | d.humanTime = _formatTime(data.living_start_time * 1000); | 121 | d.humanTime = _formatTime(data.living_start_time * 1000); |
122 | + d.video_src = d.url; | ||
122 | } | 123 | } |
123 | 124 | ||
124 | return result; | 125 | return result; |
@@ -139,6 +140,7 @@ const fetchLiveInfo = (roomID) => { | @@ -139,6 +140,7 @@ const fetchLiveInfo = (roomID) => { | ||
139 | d.pic = helpers.image(d.pic, 640, 968); | 140 | d.pic = helpers.image(d.pic, 640, 968); |
140 | d.master_pic = helpers.image(d.master_pic, 180, 180); | 141 | d.master_pic = helpers.image(d.master_pic, 180, 180); |
141 | d.humanTime = _formatTime(d.living_start_time * 1000); | 142 | d.humanTime = _formatTime(d.living_start_time * 1000); |
143 | + d.video_src = d.hls_downstream_address; | ||
142 | } | 144 | } |
143 | 145 | ||
144 | return result; | 146 | return result; |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <!-- 视频部分start--> | 4 | <!-- 视频部分start--> |
5 | <!--http://live-hls-pili.1iptv.com/meipai-live/57651bb975b6255acc01444c.m3u8--> | 5 | <!--http://live-hls-pili.1iptv.com/meipai-live/57651bb975b6255acc01444c.m3u8--> |
6 | <section id="live_container" class="live-video-main" style="height:28.4rem;background-image: url(/img/activity/live/live/video_cover.jpg);"> | 6 | <section id="live_container" class="live-video-main" style="height:28.4rem;background-image: url(/img/activity/live/live/video_cover.jpg);"> |
7 | - <div id="video_container" class="video_player" data-video="{{hls_downstream_address}}"> | 7 | + <div id="video_container" class="video_player" data-video="{{video_src}}"> |
8 | </div> | 8 | </div> |
9 | <div class="live-loading-container"> | 9 | <div class="live-loading-container"> |
10 | <div class="live-video-loading"> | 10 | <div class="live-video-loading"> |
-
Please register or login to post a comment