Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS Playback #1103

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

HLS Playback #1103

wants to merge 7 commits into from

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.

None yet

2 participants