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

Added the ability to place a custom thumbnail while loading instead of the spinning loader #265

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

OKrawi
Copy link

@OKrawi OKrawi commented Jun 3, 2023

Users can now pass two new properties to the VideoPlayer component.
The new props are:

  1. thumbnailUri which accepts a URI string that points to an image.
  2. thumbnailStyle which accepts a StyleSheet object to style the thumbnail.

These two properties are used to display a thumbnail while the video is loading instead of the current spinning loader.

Also, I've updated the ReadMe file.

…f the spinning loader

Users can now pass two new properties to the `VideoPlayer` component.
The new props are:
1. `thumbnailUri` which accepts a URI string that points to an image.
2. `thumbnailStyle` which accepts a `StyleSheet` object to style the thumbnail.
These two properties are used to display a thumbnail while the video is loading instead of the current spinning loader.
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

Successfully merging this pull request may close these issues.

2 participants