With every DatoCMS project you also get a native integration with Mux without any manual intervention.
The integration allows you to upload videos directly from DatoCMS dashboard or using the REST API. The CMS interface will then allow you to use the videos in the content, while on the API side you’ll be able to retrieve the Mux Video URLs, the thumbnail.
You don’t need to do anything!
Mux is by default enabled in every new DatoCMS project. Just go ahead with uploading your first video.
Just drag and drop a video in DatoCMS media area, like this:
For every video that you upload, you can get on the API a custom video object with the following properties:
- HLS video streaming URL.
- High, medium and low quality MP4 versions of the video to support legacy browsers that do not support HLS.
- Duration and frame rate of the video.
- Thumbnail URL: resizable, croppable and available in JPEG, PNG and GIF format.
See the full page of this embedded example here in the GraphQL explorer.
Updated 3 days ago