Replaced video.canPlayType with isTypedSupported. Removed <video> and create
  the video element with DOM API. Fixed a confliction of function name with
  testharness.js.