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

Live stream URL not playing #8

Open
codesalsa opened this issue Sep 26, 2016 · 4 comments
Open

Live stream URL not playing #8

codesalsa opened this issue Sep 26, 2016 · 4 comments

Comments

@codesalsa
Copy link

Hi
My live stream url works fine with jwplayer in the website, but when I integrate it using ng-jWPlayer in my ionic project, its not working. Its playing normal .mp4 files but showing error for live stream url.

My live stream URL is - http://139.59.13.228:8081/live/stream/playlist.m3u8

Also tried with the rtmp url, still no success

rtmp://139.59.13.228:8080/live/stream

Can you help me in fixing this.

@dkarchmer
Copy link
Collaborator

Did you try to make it work on a non-ionic project first? This more likely than not an issue with the mobile app itself. Divide and conquer, so first try to get it to work on a small sample project running on your computer's browser. If that works, then the issue is related to ionic/cordova settings, and not an issue with this project.

@codesalsa
Copy link
Author

I tried integrating it in a non-ionic basic angularjs project and still Live stream URL not working. mp4 videos playing well.

But
http://139.59.13.228:8081/live/stream/playlist.m3u8
url or
rtmp://139.59.13.228:8080/live/stream
url, none of them working. Its showing "error loading Media"

@dkarchmer
Copy link
Collaborator

Are you sure you have the license that allows you to play them?

Try small example with regular javascript as JWPlayer recommends it. At the end of the day, this is just a directive, which passes the options to the jwplayer library, so you should figure out how to use it outside Angular first, and then you should be able to just pass the same options.

Sorry, but you have not really shown there is a bug with the directive.

@codesalsa
Copy link
Author

Yes, the license allowed to play, as I am using the same license to play on my website.

Using regular javascript it is already integrated my website here: http://kanaknews.com/live-streaming/

I am not telling its a bug in the directive, but need your help in solving the issue that I am facing.

I have attached my code for your reference.
videoplay.zip

Also find attached the html file where it is already integrated and working fine

indexx.zip

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

No branches or pull requests

2 participants