Skip to content

Conversation

@cruurds
Copy link

@cruurds cruurds commented Feb 21, 2022

Sources used :

  1. clone https://github.com/streamaserver/streama
  2. bower install
  3. bower install hls.js
  4. include hls.js dist file to (grails), the file is located in grails-app/assets/javascripts/streama/directives/streama-video-player-directive.js
  5. add upload types, file located, grails-app/conf/application.yml

Bower install hls.js
include hls.js dist file to player
`contentType` is added to file uploadtypes - "application/vnd.apple.mpegurl"
HLS Playback
Update with hls.js "org.webjars.bowergithub.video-dev:hls.js:0.10.1"
Add hls.js dependancy
include //= require hls.js/dist/hls.min
@tybylyk
Copy link

tybylyk commented Aug 31, 2022

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants