react-jw-player
react-jw-player copied to clipboard
Play preroll on next video play
Would you be open to supporting this option?
Example: https://github.com/fastcompany/react-jw-player/commit/6ec338d5f257001472953985d1642859fb5099cd
@michaelBenin What if we created a generateMidroll
or generatePostroll
function? That would allow us to do this without a major version change.
Sounds good.
@michaelBenin started thinking about this, and with v2 we are going to back away from being opinionated about the event hooks and really simplify the component. My thought is this:
Should we do away with generatePreroll
altogether and just let developers hook into onBeforePlay
directly? I think removing a little of the magic here might be better long term.