
Custom JS Provider Documentation Out Of Date
Hi there I am trying to upgrade a custom JS Provider from JW6 to JW7 however the sdk documentation is out of date.
https://github.com/jwplayer/jwplayer-sdks/blob/feature/jwplayer-7.1-updates/providers/timer.js
There is no such jwplayer.utils, jwplayer.states, jwplayer.events. I am unable to replicate like the other providers because its using some wrapping code that is unavailable outside the player.
I am unable to get access to "utils" "Event" , "events", "states" properties.
Following the other providers
define([
'utils/helpers',
'events/events',
'events/states',
'utils/underscore'
], function(utils, events, states, _) {
This is pretty useless and does not work outside the player.
Any ideas ?
The only way to do it is via jwplayer(_playerId) which I guess is ok however events and states are not part of the api ?