Skip to content

A javascript lib to mock HTML5 video element (HTMLVideoElement) as a CustomElement

Notifications You must be signed in to change notification settings

zentrick/VideoMock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

A javascript lib to mock HTML5 video element (HTMLVideoElement) as a CustomElement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.3%
  • JavaScript 31.4%
  • HTML 10.3%