streama
streama copied to clipboard
HLS Playback
Sources used :
- (clone) https://github.com/cruurds/streama
- https://github.com/video-dev/hls.js To integrate HLS.js into Streama:
- clone https://github.com/streamaserver/streama
- bower install
- bower install hls.js
- include hls.js dist file to (grails), the file is located in
grails-app/assets/javascripts/streama/directives/streama-video-player-directive.js
- add upload types, file located,
grails-app/conf/application.yml
How did you resolve the conflicts between ES5 and ES6 at compiling the app?
- If you get in cmd FAIL at compiling the app and make it .jar for VPS
Update:
The conflict is solved by not compiling the "org.webjars.bowergithub.video-dev:hls.js:0.10.1". If it's downloaded automaticaly as an external library you need to basicaly excluded.
So in build.gradle delete or comment this line compile "org.webjars.bowergithub.video-dev:hls.js:0.10.1"
and add in the exluded groups this line exclude group: 'org.webjars.bowergithub.video-dev:hls.js:0.10.1'