diff --git a/dist/h5player.js b/dist/h5player.js index 9409dee5..e6630c7a 100644 --- a/dist/h5player.js +++ b/dist/h5player.js @@ -2994,6 +2994,9 @@ const taskConf = { fullScreen: ['button.wbpv-fullscreen-control'], // webFullScreen: ['div[title="关闭弹层"]', 'div.wbpv-open-layer-button'] webFullScreen: ['div.wbpv-open-layer-button'] + }, + 'udemy.com': { + switchPlayStatus: '[data-purpose=play-button],[data-purpose=pause-button]' } }; diff --git a/src/h5player/h5PlayerTccInit.js b/src/h5player/h5PlayerTccInit.js index bf41cdbc..ff958020 100644 --- a/src/h5player/h5PlayerTccInit.js +++ b/src/h5player/h5PlayerTccInit.js @@ -541,6 +541,9 @@ const taskConf = { fullScreen: ['button.wbpv-fullscreen-control'], // webFullScreen: ['div[title="关闭弹层"]', 'div.wbpv-open-layer-button'] webFullScreen: ['div.wbpv-open-layer-button'] + }, + 'udemy.com': { + switchPlayStatus: '[data-purpose=play-button],[data-purpose=pause-button]' } }