Skip to content

wulfsolter/videojs-endcapCTA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

videojs-endcapCTA

Endcap Call-To-Action plugin for video.js

At the end of a video, display your custom HTML/JS Call To Action.

Such as:

  • Contact Us form
  • Links to more information
  • Redirect to store / product

Example Screenshot

Usage

// Get the video.js object
var video = videojs('video-id', {
  "controls": true
});

// Add a the endcap content
video.endcapCTA({
  html: '<section class="endcapCallToActionContent">....</section>',
  run: function() {
    // This runs upon creation of endcapCTA, just after video starts playing
  }
});

About

Endcap Call-To-Action plugin for video.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published