Open merlinyang521 opened 8 years ago
I see in code mediaPlayer.autoPlay = false;
Maybe that's the problem , the parameter is not get from JS
Also I have this problem .
+1 Setting autoPlay: true
does nothing.
Tested with v0.0.15-rc1, clappr v0.2.61 and a live video stream
@albertogasparin do you see any errors in the console? This should do the trick: https://github.com/flavioribeiro/clappr-rtmp-plugin/blob/master/src/main.js#L112
Is the play()
method getting called for you?
I tested with a VOD stream and autoPlay did work fine. Can you show me how to reproduce this?
Same issue here. My horrible workaround is to setTimeout and play after I assume it will be ready, but I'm sure there's a better way.
I had similar problem, fixed it by increasing the width/height to 400/300
because of
Cross-origin plugin content from [...] must have a visible size larger than 400 x 300 pixels, or it will be blocked. Invisible content is always blocked.
What version of clappr and clappr-rtmp-plugin are you using? And if possible, paste your player JS setup here as well.