Videojs Watch limit plugin

STANDARD
PREMIUM
GOLD
Video will stop playing after 10 seconds

Watch time limit plugin for Videojs

Watch time limit is another nice and useful feature of the Nuevo plugin for Videojs player.
The minimum setup is a limit option with some value in seconds and an on-click limit URL. Once video reaches a time limit, it stops playing and an appropriate message or limit image is displayed with the link to the desired URL. You can also define a 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
The default limit message is: "Watch full video on"
To change the limit message you can define a custom message for an option limitmessage.
The example video above usea a 20 seconds watch time limit and displays either text message with a link, or a clickable limit image.

Change limit image to text message

See the Nuevo plugin setup code example below.
Code snippet
<script>
var player = videojs();
player.nuevo({
limit: 20,
limiturl: "//domain.com/path/to/limit_url",
limitimage: "//domain.com/path/to/limit_image.jpg"
});
</script>