General concepts > Video encoding/streaming

    Video encoding/streaming

    DatoCMS natively supports video encoding and streaming, thanks to the integration with Mux, the fastest and most advanced cloud encoding platform for on-demand streaming video.

    Every video you upload in your DatoCMS project will be instantly available for streaming. We can ingest almost every available codec, including those for broadcast and professional applications like H.264, H.265, VP9, and Apple ProRes.

    Thanks to HLS Adaptive Bitrate (ABR) streaming, every viewer will always download the right video size for their device and connection speed from the nearest CDN node.

    Would you prefer to use YouTube streaming instead?

    No problem! We also support integrations with embedded videos from YouTube/Vimeo/Facebook as a special field type you can add to your models and blocks.

    Uploading videos

    You can upload videos in the same way you upload regular assets. Through the interface, you can access some metadata related to the video and naturally, you'll have the ability to preview it instantly:

    You can add a video to your models using the Single Asset or Asset Gallery fields.

    What gets exposed via API

    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.

    We've also released <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.

    Pricing and availability

    Integration with MUX is offered across all DatoCMS packages, each incorporating numerous minutes of encoding and streaming 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.

    What happens if you downgrade or cancel subscription?

    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.

    Explore more!

    To gain a comprehensive understanding of the media area and its capabilities, take a look at this video tutorial: