Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 502 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 502 Bytes

Video Popup

Video Popup is a simple, lightweight, JavaScript Library that allows you to display a small video or advertsement on any webpage.
It has just one simple function:

VideoPopup(url, size, shouldSkip);

url: String - the url to the video (mp4 only, for now).
size: String or object - The size of the video popup. "small", "medium", or "large", or {width:##, height:##}.
shouldSkip: Boolean - if a skip button should appear after 5 seconds of video (default is false).