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

Define thumbnail for video #21

Open
ChrisMcHarvey opened this issue Feb 5, 2021 · 3 comments
Open

Define thumbnail for video #21

ChrisMcHarvey opened this issue Feb 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ChrisMcHarvey
Copy link

Have you thought about adding functionality for defining the thumbnail for a video file? Mine show a black viewer right now.

@devcshort
Copy link
Owner

This is a great suggestion, I'll have to look in to it :)

@devcshort devcshort added the enhancement New feature or request label Feb 9, 2021
@ChrisMcHarvey
Copy link
Author

Thanks!

@devcshort
Copy link
Owner

Hey @ChrisMcHarvey I looked in to this. This functionality actually should be available through this package already. Since the underlying component is just a regular video component, you can pass in any normal video element property that you'd normally have access to. This includes the ability to add a poster, which would just be a url to the image you want displayed as the thumbnail.

You can checkout this Tutorial that shows how to use the poser property.

Let me know if this is what you were needing, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants