video-dev / clappr-rtmp-plugin

📺 RTMP support for Clappr player.
http://clappr.io
Apache License 2.0
105 stars 46 forks source link

error echo when webpack flash.html #75

Closed hexray-newbee closed 7 years ago

hexray-newbee commented 7 years ago

I use webpack 2 to pack the module, but it echo error from flash.html

ERROR in ./~/clappr-rtmp/public/flash.html
Module parse failed: D:\WorkSpace\DYI\Video\src\server-2.0\node_modules\clappr-rtmp\public\flash.html Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| <param name="movie" value="<%= swfPath %>?inline=1">
| <param name="quality" value="autohigh">
| <param name="swliveconnect" value="true">
 @ ./~/clappr-rtmp/src/main.js 7:0-44
 @ ./~/clappr-rtmp/index.js
 @ ./src/livecam_view.js