Hi all,
I am trying to integrate flashphoner player example with ReactJS. The way I tried is by loading flashphoner.js script in <head/> and then in Player Component HTML is being rendered. In componentDidMount method, Flashphoner.init() and start() functions are being called. However an error is returned from flashphoner.js: "this.trigger is not a function" - called from stream.play().
What am I missing? Any help is appreciated.
Thanks.
I am trying to integrate flashphoner player example with ReactJS. The way I tried is by loading flashphoner.js script in <head/> and then in Player Component HTML is being rendered. In componentDidMount method, Flashphoner.init() and start() functions are being called. However an error is returned from flashphoner.js: "this.trigger is not a function" - called from stream.play().
What am I missing? Any help is appreciated.
Thanks.