Skip to content

Commit bedd718

Browse files
committed
Fix
1 parent 02c660a commit bedd718

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

_includes/p2p_player.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
{% assign video_id = page.permalink | split: '/' | last %}
88
{% endif %}
99

10-
{% assign stream_url_prefix = site.theme_settings.p2p_player.media_urls[0] | append: '/' | append: video_id %}
10+
{% assign media_urls = site.theme_settings.p2p_player.media_urls_overwrite | concat: site.theme_settings.p2p_player.media_urls %}
11+
{% assign stream_url_prefix = media_urls[0] | append: '/' | append: video_id %}
1112
{% assign stream_url = stream_url_prefix | append: "/main.m3u8" %}
1213
{% assign thumbnail_url = stream_url_prefix | append: "/thumbnail.webp" %}
1314
{% endif %}

0 commit comments

Comments
 (0)