Video.js player - Watch limit plugin

DOCUMENTATION

Watch limit setup for Video.js player Watch limit is integral part of Nuevo plugin for Videojs player.
The minimum setup is limit option with some value in seconds and on click limit URL. Once video reach limit time, it stops to play and appropriate message or limit image is displayd with link to desired URL. You can also define custom message text or image URL to display.
  • limit - time value in seconds
  • limiturl - website URL to go on limit click
  • limitimage - optional image URL to display instead of limit message
  • limitmessage - optional text string for custom message
Default limit message is: "Watch full video on"
To change limit message you can define custom message for option limitmessage.
Example video above use 20 seconds watch time limit and display either text message with link or clickable limit image.

Change limit message to image

See Nuevo plugin setup code example below.

var player = videojs('example_video_1',{},function(){ 
	this.nuevoPlugin({
		logo: '//domain.com/path/to/logo.png',
		logoposition: 'RT',
		logourl: '//domain.com',
		limit: 20,
                limiturl: "//domain.com/path/to/limit_url",
		limitmessage: "Custom limit message text",
	});
});
</script>