Video.js player - Video Title


Title overlay videoInfo option available for Nuevo plugin allows to overlay video title at top position.
The title is what you define for shareTitle option or it is taken from document meta title automatically.
If you define some URL for shareUrl option, the title on playre becomes a link.
Title overlay appears on each player's pause state.
You have also 2 optional parameters for title font size (px) and small icon right aligned. Title font allowed is between 15 and 25 pixels.
See Nuevo plugin setup code example below.

var player = videojs('example_video_1',{},function(){ 
	shareUrl: '//',
	shareTitle: 'your video title here',
	videoInfo: true,
	infoIcon: "//"

videoInfo addon includes more options that you might find useful.
  • infoText - custom text string that you may wish to display instead of shareTitle text.
  • infoAlign - if you set it "right" videoInfo will be aligned to left.
  • infoBold - vido title text will appear bolden.
  • infoIconURL - if you define video title icon, you can alaso define separate URL to go on icon click only.