Removes wx API invocations for JSB projects. (#2668)

* Removes wx API invocation for JSB projects.

* sys.openURL fix for JSB.

* touches, mouse, keyboard capabilities check.
This commit is contained in:
James Chen
2018-05-11 18:00:40 +08:00
committed by pandamicro
parent f326869f47
commit cd07d03b7d
8 changed files with 72 additions and 72 deletions
@@ -29,6 +29,12 @@ class HTMLVideoElement extends HTMLMediaElement {
constructor() {
super('video')
}
canPlayType(type) {
if (type === 'video/mp4')
return true;
return false;
}
}
module.exports = HTMLVideoElement;