sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.59k stars 2.93k forks source link

Documentation on best approach for creating a plugins for Plyr #616

Open hamishrouse opened 7 years ago

hamishrouse commented 7 years ago

Expected behaviour

I want to create a plugin for Plyr but there doesn't appear to be any guidelines on best approaches

As far as I can tell there are none documented

Actual behaviour

I want to create a plugin for Plyr and there are some general/recommended guidelines on best approaches

Environment

Players affected:

Steps to reproduce

n/a

Relevant links

Was hoping for some documenation like VideoJs: https://github.com/videojs/video.js/blob/master/docs/guides/plugins.md

sampotts commented 7 years ago

Hey Hamish,

I think this will be tackled as part of a larger piece of work: https://github.com/sampotts/plyr/issues/598

I'm keen to get this going after I finish v3 as people keep wanting to add providers, ads etc and I don't have the time frankly.

hamishrouse commented 7 years ago

Hi Sam,

Yep, add it to the backlog for after v3 :) I look forward to its release