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

Setting poster of video #57

Open
Calderis opened this issue May 23, 2016 · 4 comments
Open

Setting poster of video #57

Calderis opened this issue May 23, 2016 · 4 comments

Comments

@Calderis
Copy link

Hi, I would like to know if you plan to add a feature to your player such as adding a poster once we init player ?

Have a nice day

@jaruba
Copy link
Owner

jaruba commented May 23, 2016

That sounds hackable even without it being part of the player, just inject a <div> inside .wcjs-player, make it 100% width + height, change the image on every mediaChanged event, show it when the player is in the opening and first buffering states and hide it on the first playing state.

- by first, i mean first after mediaChanged

(pretty much exactly how I would do it in the player too, just that it wouldn't need any injection)

@Calderis
Copy link
Author

Ok, I'll try and get back with a response.

Thank you !

@jaruba
Copy link
Owner

jaruba commented May 30, 2016

any luck?

@Calderis
Copy link
Author

I'm very sorry :( , I did not have the time to try it yet. But i'll come back with a conclusion soon enough !

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