Im trying to use this plugin in an angular 2 web app. Im coming across a problem where it works the first time a page is loaded but then when i naviagate away and then back to the page the videos dont show in the canvas.. Ive tried resetting the seriously instances using the following
this.seriously.destroy();
this.seriouslyB.destroy();
if (this.seriously) { this.seriously = null; console.log('destroyed s1'); }
if (this.seriouslyB) { this.seriouslyB = null; console.log('destroyed s2'); }
in the angular 2 ngOnDestroy method, which basically gets fired when you navigate to a different page and then I am reinitiating seriously using the ngOnInit method which basically fires them again using this code
am i missing anything that could help.. its a pretty big blocking factor and if I cant get it to work il have to scrap the plugin from the project which I really dont want to do.
Im trying to use this plugin in an angular 2 web app. Im coming across a problem where it works the first time a page is loaded but then when i naviagate away and then back to the page the videos dont show in the canvas.. Ive tried resetting the seriously instances using the following
in the angular 2 ngOnDestroy method, which basically gets fired when you navigate to a different page and then I am reinitiating seriously using the ngOnInit method which basically fires them again using this code
am i missing anything that could help.. its a pretty big blocking factor and if I cant get it to work il have to scrap the plugin from the project which I really dont want to do.