Video.js Sharing Options with Nuevo Plugin


Sharing option for Nuevo plugin

Nuevo plugin for Video.js player includes feature with few sharing options accessible through Settings Button menu. Sharing container includes options for permalink to website URL with original video, video embed code and icons to share video on four most important social networks. There are few parameters that you need to define for sharing purpose.

  • share Tittle - title of video. If not defined, Nuevo plugin will attempt to get it from current website meta title tag.
  • shareUrl - Website URL with original video. Not defined by default
  • shareEmbed - Embed code of current video to copy & paste on any external website or a blog. By default it is not defined.
  • pubid - by default not defined. Optional AddThis service pubid for better tracking
Check Nuevo plugin's example setup code with options for sharing purpose.

var player = videojs('example_video_1');
	shareTitle: 'This is video title',
	shareUrl: '//',
	shareEmbed: '<iframe src="embed-player-url" width="640" height="360" frameborder="0" allowfullscreen></iframe>'