React Vimeo
React component to load video from Vimeo.
Usage
To handle errors, you can pass a function to the onError
prop:
To automatically play the video on page load:
Behind the Scenes
There are some things that you should know about the component. The first one is the structure created inside by the component if you wish to stylize it.
So, the semantic HTML structure will be something like this:
For more details, check out the API