Last updated: Aug-06-2025
OverviewThis video tutorial teaches you how to embed the Cloudinary Video Player into your React app. Learn how to install and configure the Video Player including how to make it work with the intricacies of a React application.
Video tutorialYou can find the code from this tutorial in
GitHub.
Tutorial contentsThis tutorial presents the following topics. Click a timestamp to jump to that part of the video.
Introduction to the Cloudinary Video Player Create a VideoPlayer component   0:15 Start with a basic React application and add a new file called VideoPlayer.js in which you can create a component for the Video Player. Embed the Video Player script   0:29 Copy thelink
tag from the Installation and setup section of the docs and paste it into the <head>
of the public/index.html file. Then, copy the script
tag and paste it into the <body>
of the same file. Initialize the Video Player   1:08 Use the following code in VideoPlayer.js to initialize the VideoPlayer. Make sure to use your own cloud name instead of colbycloud-examples
. Specify the video to play   2:56 In the <video>
element set the data-cld-public-id
property to the public ID of the video you want to play. Use the VideoPlayer component   3:14 In your App.js file, import the VideoPlayer component and use the component to embed the video on the page. You can specify the width and height of the player by passing the dimensions through props
. Control the player by specifying controls
in the <video>
element. Learn about all the options and features of the Video Player in the guide and reference.
You can find the code used in this video tutorial in GitHub.
Keep learning If you like this, you might also like...Â
Â
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
Â
âï¸ Feedback sent!
âï¸Â  ErrorUnfortunately there's been an error sending your feedback.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4