Skip to content

A simple, lightweight library to add a video popup to any webpage.

Notifications You must be signed in to change notification settings

danielreynoldsma/Video-Popup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

A simple, lightweight library to add a video popup to any webpage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published