Sharing Options with Nuevo Plugin for Videojs

Nuevo plugin sharing options for videojs

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

  • shareTittle - 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.

<script>
var player = videojs('example_video_1');
player.nuevo({
	shareTitle: 'This is video title',
	shareUrl: '//domain.com/path/to/video.html',
	shareEmbed: '<iframe src="embed-player-url" width="640" height="360" frameborder="0" allowfullscreen></iframe>'
});
</script>