No commit activity in last 3 years
No release in over 3 years
Adds social sharing buttons to video.js for Facebook and Twitter.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0

Runtime

~> 6.2.7
 Project Readme

Videojs::Ng::Socialshare

Adds social sharing buttons to the video.js for Facebook and Twitter.

This gem bundles the upstream distribution for use with the Ruby on Rails framework. The version number of the gem always tracks the upstream javascript release and the gem itself doesn't provide any additional methods or helpers. If a need for helpers arises in the future they will be developed as a separate gem with this one as its dependency. Should a gem bug be discovered an additional version identifier will be appended and incremented after the upstream version number.

License

videojs-ng-socialshare gem and changes made to the video.js socialShare plugin required for rails are licensed under ISC.

The original video.js socialshare plugin code distributed with this gem is licensed under MIT You can find the plugins license file in the vendor directory, changes made to the original code base are as follows:

  • none so far

Please note, the initial plugin code of socialShare lives under

this gem however packages:

which is an updated and extended fork of the initial repository, most significant change fixes the plugin for video.js 6+

licensing has been unchanged between that fork and the origin repository.

Since both repositories don't do releases of recent changes the commit ID used to bundle the plugin from AdamTyle/videojs-socialShare repository is: 75fd0d55e9a801babc281d19b017229325bf5664

Installation

Add this line to your application's Gemfile:

gem 'videojs-ng-socialshare'

And then execute:

$ bundle

Or install it yourself as:

$ gem install videojs-ng-socialshare

Usage

Include the plugin in your application.js:

//= video-socialshare

Include the stylesheet in `application.css':

*= video-socialshare

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/koparo/videojs-ng-socialshare.