From 4a8cd1e49b9a02d44ed1a9c95bb9371ebb55c336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=9A=E9=A3=8E=E6=8B=82=E6=9F=B3=E9=A2=9C?= <434857005@qq.com> Date: Wed, 7 Jun 2023 11:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E5=A5=97=E6=96=B0?= =?UTF-8?q?=E7=9A=84p2p=E6=92=AD=E6=94=BE=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/web.py | 5 + templates/admin.html | 1 + templates/player/p2phls/cbplayer2.js | 1 + templates/player/p2phls/hls.min.js | 1 + templates/player/p2phls/jquery.min.js | 2 + templates/player/p2phls/loading_pc.jpg | Bin 0 -> 129805 bytes templates/player/p2phls/p2phls.html | 174 +++++++++++++++++++++++++ 7 files changed, 184 insertions(+) create mode 100644 templates/player/p2phls/cbplayer2.js create mode 100644 templates/player/p2phls/hls.min.js create mode 100644 templates/player/p2phls/jquery.min.js create mode 100644 templates/player/p2phls/loading_pc.jpg create mode 100644 templates/player/p2phls/p2phls.html diff --git a/controllers/web.py b/controllers/web.py index af9ba30..ac96ac3 100644 --- a/controllers/web.py +++ b/controllers/web.py @@ -61,6 +61,11 @@ def custom_player3(): ctx = getParmas() return render_template('player/p2pplayer/index.htm', ctx=ctx) +@web.route('/player4') +def custom_player4(): + ctx = getParmas() + return render_template('player/p2phls/p2phls.html', ctx=ctx) + @web.route('//') def web_index(web_name, theme): ctx = {'web_name': web_name, 'key': '关键词', 'description': '描述'} diff --git a/templates/admin.html b/templates/admin.html index 4c921ee..19c6a9e 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -217,6 +217,7 @@ MUI播放器 P2P播放器 P2P播放器-GO + P2P播放器-hls