Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 594 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 594 Bytes

#VideoMock, a js lib to mock HTML5 Video element as a CustomElement (HTMLVideoElement)

The goal of this lib is to provide code for easily mock Dom HTMLVideoElement api. Actually the project build a lib called videomock.js that can be used in phantomjs to provide an headless video api.

WORK STILL IN PROGRESS, DO NOT USE IT IN PRODUCTION FOR YOUR TEST

##build

just run npm i to install dependency and the project

The output is build in the dist/ folder

##test

run npm sample and go to http://localhost:8080/sample

Look at the sample/index.html file to see how it works