Sharing Video

Sharing options for videojs

Nuevo plugin for Video.js player includes a feature with few sharing options accessible through the Settings Button menu. Sharing container includes an option for a permalink to the 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.

  • tittle - Title of video. If not defined, Nuevo plugin will attempt to get it from current website meta title tag.
  • url - Website URL with original video. Not defined by default
  • embed - Embed code of the 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.
Code snippet
<script>
var player = videojs('example_video_1');
player.nuevo({
title: 'This is video title',
url: '//domain.com/path/to/video.html',
embed: '<iframe src="embed-player-url" width="640" height="360" frameborder="0" allowfullscreen></iframe>'
});
</script>