Skip to content

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.

OKrawi added 2 commits June 3, 2023 09:27
…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