clappr / clappr-level-selector-plugin

Clappr Level Selector Plugin
MIT License
76 stars 56 forks source link

Event error inside the plugin after update on Clappr 0.2.39 (HLS VoD) #28

Closed mikeevstropov closed 8 years ago

mikeevstropov commented 8 years ago

Console (clappr.min.js):

Uncaught TypeError: Cannot read property '_listenId' of null

Initiator (line 154 on level-selector.js):

this.listenToOnce(this.getPlayback(), _Clappr.Events.PLAYBACK_FRAGMENT_LOADED, this.onFragmentLoaded);
leandromoreira commented 8 years ago

are you using 0.1.8 version? I can't find this code PLAYBACK_FRAGMENT_LOADED on it.

mikeevstropov commented 8 years ago

@leandromoreira yes, 0.1.8 https://github.com/clappr/clappr-level-selector-plugin/blob/master/dist/level-selector.js#L154

leandromoreira commented 8 years ago

@mikeevstropov we're uploaded an old version =/ we need to rebuild a new version

mikeevstropov commented 8 years ago

@leandromoreira Ok. =) Thank you for answer!

leandromoreira commented 8 years ago

I'm working on this https://github.com/clappr/clappr-level-selector-plugin/issues/24 and if I can get through I'll publish a new version.

leandromoreira commented 8 years ago

let's leave this issue open until we see if this is still an issue.

mikeevstropov commented 8 years ago

I think we can close this issue. Clappr 0.2.40 with Level-Selector 0.1.9 work fine.

leandromoreira commented 8 years ago

thanks @mikeevstropov