diff --git a/index.js b/index.js index 4190390626..0920b95e2e 100644 --- a/index.js +++ b/index.js @@ -164,10 +164,6 @@ require('./polyfill/array'); if (!(CC_EDITOR && Editor.isMainProcess)) { require('./polyfill/typescript'); } -// empty polyfill HTMLVideoElement -if (CC_WECHATGAME) { - _global.HTMLVideoElement = function () {}; -} require('./cocos2d/core/predefine');