Skip to content

Commit

Permalink
update dplayer 1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
xinggsf committed Nov 16, 2020
1 parent 406f64e commit 3969691
Show file tree
Hide file tree
Showing 5 changed files with 4,385 additions and 28 deletions.
2 changes: 0 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ const domainWhiteList = [
'.cctv.com',
'.cntv.cn',
'.douyu.com',
'.duboku.tv',
'.gamersky.com',
'.google.com',
'.hmtv.me',
'.imeiju.io',
'.kalidm.com',
'.lzvod.net',
'z1.m1907.cn',
'.yatu.tv',
Expand Down
6 changes: 2 additions & 4 deletions lib/DPlayer.min.css

Large diffs are not rendered by default.

4,384 changes: 4,382 additions & 2 deletions lib/DPlayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion m3u8.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const router = {
router['9kke.com'] = router['ttmeiju.me'] = router['k.jinbaodm.com'];
router['bhys.ltd'] = router['www.edu-hb.com'];
router['www.foxiys.com'] = router['www.dyjihe.com'];
router['www.imomoe.in'] = router['www.xxdm5.com'] = router['www.xiamov.com'];
router['www.imomoe.ai'] = router['www.xxdm5.com'] = router['www.xiamov.com'];
const ss = router[location.hostname];
ss && document.addEventListener('DOMContentLoaded',x => {
if (typeof ss == 'string') dom.style({}, ss);
Expand Down
19 changes: 0 additions & 19 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
"*://*.cctv.com/*",
"*://*.cntv.cn/*",
"https://*.douyu.com/*",
"https://*.duboku.tv/*",
"https://www.gamersky.com/*",
"https://*.google.com/*",
"https://www.hmtv.me/*",
"http://www.imeiju.io/*",
"http://www.kalidm.com/*",
"https://www.lzvod.net/*",
"https://z1.m1907.cn/*",
"http://www.yatu.tv/*",
Expand All @@ -38,23 +36,6 @@
"m3u8.js"
],
"run_at": "document_start"
},
{
"matches": [ "https://cn.duboku.tv/vodplay/*" ],
"all_frames": false,
"css": [
"lib/DPlayer.min.css",
"player-fix.css"
],
"js": [
"lib/m3u8-parser.min.js",
"lib/crypto-js.js",
"lib/hls.min.js",
"lib/DPlayer.min.js",
"utils.js",
"duboku-tv.js"
],
"run_at": "document_end"
}
],
"background": {
Expand Down

0 comments on commit 3969691

Please sign in to comment.