contently / videojs-annotation-comments

A plugin for video.js to add support for timeline moment/range comments and annotations
https://contently.github.io/videojs-annotation-comments/
Other
171 stars 50 forks source link

ERROR: TypeError: Templates[templateName] is not a function #62

Closed ghost closed 4 years ago

ghost commented 4 years ago

After gulp build in compiled version and as well as test page, I am getting below error

VIDEOJS: ERROR: TypeError: Templates[templateName] is not a function at PlayerButton.renderTemplate (player_ui_component.js:70) at PlayerButton.render (player_button.js:29) at new PlayerButton (player_button.js:12) at new Controls (controls.js:34) at AnnotationComments.postLoadDataConstructor (annotationcomments.js:61) at HTMLDivElement.data.dispatcher (video.js:1866) at trigger (video.js:2002) at Player.trigger$1 [as trigger] (video.js:2887) at Player. [as handleTechLoadeddata] (video.js:28708) at HTMLVideoElement.data.dispatcher (video.js:1866) (anonymous) @ video.js:80 log.error @ video.js:268 data.dispatcher @ video.js:1868 trigger @ video.js:2002 trigger$1 @ video.js:2887 Player. @ video.js:28708 data.dispatcher @ video.js:1866

Video JS version: 7.6.6 Videojs-annotation-comments: 2.0.1 Node: 10.6.3 NPM: 6.9.0

jackpope commented 4 years ago

Hi @tsinghal18 I'm going to close this one as its a duplicate of https://github.com/contently/videojs-annotation-comments/issues/61. Will follow up there