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
Indicator is still showing if audioOnly is true #998
Comments
I also tested with the following multiple streams (with and without 'audioOnly:true'):
In this case bubbles spinner is showing infinitely while stream is playing. |
Hey @waster I tried this code bellow at cdn and it works just fine, what is the problem are you facing? var playerElement = document.getElementById("player-wrapper");
var player = new Clappr.Player({
source: 'http://clappr.io/highline.mp4',
baseUrl: '/latest',
poster: 'http://clappr.io/poster.png',
height: 360,
width: 640,
audioOnly:true
});
player.attachTo(playerElement);
var variant_streams = {
'test': [
{
source: 'http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8',
mimeType: 'application/x-mpegURL'
}
]
};
player.load(variant_streams['test']);
//player.play(); this will raise an error cause https://bugs.chromium.org/p/chromium/issues/detail?id=593273 |
And if you want to pass multiple sources you should use |
Sure, I understand and use multiple sources exactly as fallback, please check this code:
Also please check this sources:
In both cases streams are playing seamlessly and fine. |
Confirmed the bug, will push a fix soon. |
Great! Thanks for the quick response. |
dc569a1 fixes this issue, could you please test against it? |
hm, I did the following to generate dist directory:
All dist files were generated sucessfully, but now I have errors in the console while opening my test page that worked before:
Did I forgot to do something? |
@waster what version are you using of npm? also try to run |
Here are versions were used to build.
What version of npm is compatible to build clappr? |
@waster I think it's not a problem related to clappr itself but some libraries that we use and their dependencies requires a higher version. I'm using: leandro at Mac-8 in ~/
$ node -v
v6.2.0
leandro at Mac-8 in ~/
$ npm -v
3.8.9 |
Sure, will try with higher version. |
@waster @leandromoreira it's a bug in the change I added I'm looking into it at the moment. |
And you still can use |
@tjenkinson no problem, will wait for fix...8) |
I've built from sources again using npm with
|
It plays now, thanks. @towerz but unfortunately I'm still seeing the problems with indicator:
|
@waster can you provide an example where it doesn't work I just tried and it seemed fine for me. |
Sure, will try to prepare and example ASAP. |
Ok, I prepared the example page with the latest generated clappr.min.js where you can see the problems:
As you can see I pass two sources one with |
eg if someone calls load() with an array refs #998
@waster I never had the issue with the loading indicator going away but there were a few other problems which are fixed in some pending pull requests. Once they're merged fingers crossed it's sorted! |
@tjenkinson I hope it will be fixed with sources plugin, so did you check example page I provided?
Did you see the same behavior on the test page? |
I had the play issue but not the loading indicator issue. Everything was working fine for me running the same code on the clappr demo page with my fixes merged. Please can you try with this build so we can check we're using the same versions? |
I tried your version and also build the latest min.js and it seems that everything is fine with indicator now. Great! I used clappr version generated before your messages about sources plugin fixes. |
Great! I'll close this then :) |
Browser: FF 46
OS: Ubuntu 16.04
Clappr Version: 0.2.51
Here is the code I tested on http://cdn.clappr.io:
Source is the URL to the variant playlist of HLS with ts-segments with audio only stream.
I see that play button indicator is still showing while playing.
The text was updated successfully, but these errors were encountered: