From 953f25ae8ccb578013cd24c5613e32f6e7a842ef Mon Sep 17 00:00:00 2001 From: Chee Meng <{ID}+{username}@users.noreply.github.com> Date: Mon, 28 Oct 2024 09:12:21 +0800 Subject: [PATCH] copy over the config from twitter.com to x.com as well --- src/h5player/h5PlayerTccInit.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/h5player/h5PlayerTccInit.js b/src/h5player/h5PlayerTccInit.js index c16edecf..18a9b742 100644 --- a/src/h5player/h5PlayerTccInit.js +++ b/src/h5player/h5PlayerTccInit.js @@ -596,8 +596,10 @@ const taskConf = { wrapEl && wrapEl.addEventListener('mouseover', setVideoTitle) setTimeout(setVideoTitle, 600) } - } + }, + 'x.com': {} } +taskConf['x.com'] = Object.assign({}, taskConf['twitter.com']); function h5PlayerTccInit (h5Player) { return new TCC(taskConf, function (taskName, taskConf, data) {