You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems the plugin code overrides "mediaelement" functions without reverting back to original functions on video complete. This causes problem when trying to play the next non-youtube video by changing videogular source.
I have the same problem. In Firebug, the log of the error is the following: Error: this.a is null g.C@https://s.ytimg.com/yts/jsbin/www-widgetapi-vflpJ8svn/www-widgetapi.js:100:77 Q@https://s.ytimg.com/yts/jsbin/www-widgetapi-vflpJ8svn/www-widgetapi.js:92:97 Ob/</this[a]@https://s.ytimg.com/yts/jsbin/www-widgetapi-vflpJ8svn/www-widgetapi.js:134:124 onVideoReady/API.mediaElement[0].play@http://localhost:8031/js/lib/videogular/youtube.js:104:33 this.play@http://localhost:8031/js/lib/videogular/videogular.js:431:13 this.playPause@http://localhost:8031/js/lib/videogular/videogular.js:413:17 onClickOverlayPlay@http://localhost:8031/js/lib/videogular/vg-overlay-play.js:59:25 anonymous/fn@http://localhost:8031/js/lib/angular.min.js line 231 > Function:2:242 b@http://localhost:8031/js/lib/angular.min.js:126:19 Kc[b]</<.compile/</</e@http://localhost:8031/js/lib/angular.min.js:274:195 uf/this.$get</m.prototype.$eval@http://localhost:8031/js/lib/angular.min.js:145:103 uf/this.$get</m.prototype.$apply@http://localhost:8031/js/lib/angular.min.js:145:335 Kc[b]</<.compile/</<@http://localhost:8031/js/lib/angular.min.js:274:245 r.event.dispatch@http://localhost:8031/js/lib/jquery.min.js:3:9870 r.event.add/q.handle@http://localhost:8031/js/lib/jquery.min.js:3:7932
I do the same analysis. The youtube player is destroyed but the function onVideoReady() of the plugin is called and the API.mediaElement is altered.
Seems the plugin code overrides "mediaelement" functions without reverting back to original functions on video complete. This causes problem when trying to play the next non-youtube video by changing videogular source.
The text was updated successfully, but these errors were encountered: