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

autoPlay is not working #44

Open
merlinyang521 opened this issue Mar 28, 2016 · 6 comments
Open

autoPlay is not working #44

merlinyang521 opened this issue Mar 28, 2016 · 6 comments

Comments

@merlinyang521
Copy link

No description provided.

@gfronza
Copy link
Collaborator

gfronza commented Mar 29, 2016

What version of clappr and clappr-rtmp-plugin are you using? And if possible, paste your player JS setup here as well.

@uves
Copy link

uves commented Mar 29, 2016

I see in code
mediaPlayer.autoPlay = false;

Maybe that's the problem , the parameter is not get from JS

Also I have this problem .

@albertogasparin
Copy link

albertogasparin commented Aug 22, 2016

+1 Setting autoPlay: true does nothing.
Tested with v0.0.15-rc1, clappr v0.2.61 and a live video stream

@gfronza
Copy link
Collaborator

gfronza commented Aug 24, 2016

@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?

@bikegriffith
Copy link
Contributor

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.

@UnAfraid
Copy link

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.

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

6 participants