Skip to Content
Mux Docs: Home

Integrate with DatoCMS

With every DatoCMS project you also get a native integration with Mux without any manual intervention.

DatoCMS logo

Mux is by default enabled in every new DatoCMS project. 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 and the thumbnail.

1. Upload video

Just drag and drop a video in DatoCMS media area, like this:

2. Fetch video information via GraphQL

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, cropable and available in JPEG, PNG and GIF format.

See the full page of this embedded example here in the GraphQL explorer.

Set up playback

Set up your iOS application, Android application or web application to start playing your Mux assets

Preview your video

Now that you have Mux assets, build rich experiences into your application by extracting images from your videos

Integrate Mux Data

Add the Mux Data SDK to your player and start collecting playback performance metrics.

Was this page helpful?