The Mux Developer Hub

Welcome to the Mux developer hub. You'll find comprehensive guides and documentation to help you start working with Mux as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Headless CMS: DatoCMS

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.

0. How to setup

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.

1. How to upload

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, 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

Headless CMS: DatoCMS

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.