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
Image fallback #495
Comments
@blinqwebstudio You can add a poster image, as described in the MDN docs:
|
Ah, I wasn't aware that you can just add |
Hi @cookpete! Is there any difference how to enable posters for vimeo videos? Not sure why but a poster attribute doesn't overwrite default settings. Thanks! |
@yuliwna1 Poster images will only work if you are playing file paths, as ReactPlayer just renders a There is no reason you couldn't just have a <ReactPlayer
onReady={() => this.setState({ ready: true })}
onError={() => this.setState({ ready: false })}
// ...
/> There is already an issue for natively supporting a placeholder image here: #448 |
First of all: great component!
I've searched the web but didn't find this anywhere; would it be possible to use an image fallback for a) to show during initial load and b) to show in case the video doesn't load for whatever reason?
The text was updated successfully, but these errors were encountered: