HTML5 can't create video element on Chromium 38

房东的猫 提交于 2019-12-07 18:40:23

问题


Until Chromium 37, var videoElement = document.createElement('video') would create a video element, but with Chromium 38 it's not the case anymore.

EDIT

If you want to check this, open a console and type :

var videoElement = document.createElement('video')
videoElement.toString()

This should return

"[object HTMLVideoElement]"

proving videoElement is a video element. In Chromium 38 I get :

"[object HTMLUnknownElement]"

Is there any way to fix this ?

PS: I created an issue on chromium issues : https://code.google.com/p/chromium/issues/detail?id=427856

来源:https://stackoverflow.com/questions/26607111/html5-cant-create-video-element-on-chromium-38

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!