clappr-rtmp-plugin icon indicating copy to clipboard operation
clappr-rtmp-plugin copied to clipboard

Uncaught SyntaxError: Unexpected token export" on export default require('./src/main.js').

Open danishnazir opened this issue 6 years ago • 1 comments
trafficstars

Hi I have integrated the clappr rtmp plugin into my react application but i keep receiving this error in my console. Can anyone help me on this? Thanks

danishnazir avatar Apr 01 '19 15:04 danishnazir

@danishnazir it may have to do with how the plugin was compiled. Honestly, this plugin has not taken much notice as browsers abandon flash support indefinitely. Clappr already has way more advanced ways you can create plugins and this one is definitely not there -- with that said, let me know if you have an URL I can reproduce the issue.

flavioribeiro avatar Apr 13 '19 06:04 flavioribeiro