You can add a video to your models using the Single Asset or Asset Gallery fields.
From your application, you can obtain everything you need to generate a video player through the API, as well as any thumbnails and other metadata. Take a look at the documentation of our Content Delivery API for all the details.
DatoCMS also offers <VideoPlayer />
components for React, Vue, and Svelte, making it easy to display a fully-featured video with captions, multiple audio tracks, and timeline hover previews using data retrieved from the API.
With every video you upload, you can make your content more accessible and reach a global audience with subtitles, closed captions, and extra audio tracks.
After you've uploaded a video, and it's been processed correctly (i.e. you see the thumbnail and can play the preview), head over to the "Additional audio tracks and subtitles" section to upload both alternate audio tracks (in M4A, MP3, or WAV format) and subtitles (in SRT or VTT format).
We offer the option to automatically generate closed captions for your video directly from its audio using speech recognition and machine learning. All you need to provide is the language of your video and the description to display in the player.
The transcription quality is usually pretty good, but since it's machine-generated, we recommend double-checking the results, particularly when used with suboptimal audio recordings.
The option to automatically generate captions is only available for videos uploaded in the last 7 days.
Integration with Mux is offered across all DatoCMS packages, each incorporating a generous amount of encoding/streaming minutes into the cost.
If you're subscribed to a paid plan and exceed your quota, your website will not experience any service disruption. At the end of the month, we'll bill you for any additional usage.
Videos will be kept for 60 days after the subscription ends. After that, we'll delete the videos. If you then change your mind and reactivate the project, you will need to re-upload the videos.
This behavior is particular to videos, as they can be very big and expensive to retain. This does not apply to other assets or data in general.
To gain a comprehensive understanding of videos and video optimization in DatoCMS, take a look at this video tutorial: