VariableTypeDescription
MCLOUD_TOOL_ENABLED_VIDEO_ENCODINGbooleanEnables/disables the video encoder tool.
MEDIA_CLOUD_VIDEO_ENCODING_PROVIDERstringVideo encoding provider, valid values are mux.
MEDIA_CLOUD_MUX_TOKEN_IDstringThe Mux API token ID. You can find, or create new keys, on the mux.com dashboard.
MEDIA_CLOUD_MUX_TOKEN_SECRETstringThe Mux API token secret. You can find, or create new keys, on the mux.com dashboard.
MEDIA_CLOUD_MUX_WEBHOOK_SECRETstringThe web hook signing secret. You can find that here.
MEDIA_CLOUD_MUX_ENV_KEYstringThe Mux environment key. This value is optional, but enables analytics for your videos. This environment key can be found here.
MEDIA_CLOUD_MUX_NORMALIZE_AUDIObooleanNormalize the audio track loudness level.
MEDIA_CLOUD_MUX_PER_TITLE_ENCODINGbooleanPer-title encoding analyzes an individual video to determine the ideal encoding ladder. The result is that different videos are streamed at different resolutions and bitrates, and every video looks better – often by up to 20%-30%.
MEDIA_CLOUD_MUX_TEST_MODEbooleanEnabling test mode will allow you to evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Any encoded videos will be watermarked with the Mux logo, limited to 10 seconds and be deleted after 24 hrs.
MEDIA_CLOUD_MUX_PLAYERstringThe video player to use. Valid values are none, videojs, hlsjs.
MEDIA_CLOUD_MUX_PLAYER_AIR_PLAYbooleanAllow the video to be played back on Air Play devices on supports browsers/OS.
MEDIA_CLOUD_MUX_PLAYER_QUALITY_SELECTbooleanAllow playback quality to be selected for variable bit-rate videos.
MEDIA_CLOUD_MUX_PLAYER_FILMSTRIPSbooleanGenerate thumbnail filmstrips for the player..
MEDIA_CLOUD_MUX_PLAYER_OVERRIDE_NATIVEbooleanWhen enabled, the player will override the web browser’s native handling of HLS. This really only effects Safari.
MEDIA_CLOUD_MUX_PLAYER_ANALYTICS_MODEstringTo track events in Google Analytics, select the mode you are using. Valid values are none, gtag, other.
MEDIA_CLOUD_MUX_PLAYER_MP4_FALLBACKbooleanWhen enabled, the player will prefer the HLS streaming source first but use an MP4 fallback if one exists.
MEDIA_CLOUD_MUX_PLAYER_MP4_PREFERRED_QUALITYstringMux generates up to 3 levels of quality for most MP4s. Select the preferred quality to use for the fallback. Valid values are low.mp4, medium.mp4, high.mp4
MEDIA_CLOUD_MUX_SECURE_VIDEObooleanEnable to secure all video URLs.
MEDIA_CLOUD_MUX_SECURE_VIDEO_EXPIRATIONintThe amount of time, in minutes, a signed URL is valid for. The actual expiration will be the duration of the video plus whatever value you specify here.
MEDIA_CLOUD_MUX_SECURE_THUMBNAIL_EXPIRATIONintThe amount of time, in minutes, a signed URL is valid for.
MEDIA_CLOUD_MUX_SECURE_GIF_EXPIRATIONintThe amount of time, in minutes, a signed GIF URL is valid for.
MEDIA_CLOUD_MUX_SECURE_KEY_ROTATIONintThe amount of time, in hours, between key rotations.
MEDIA_CLOUD_MUX_WATERMARK_ENABLEDbooleanWhen enabled, the image you select below will be watermarked onto any video uploads.
MEDIA_CLOUD_MUX_WATERMARK_IMAGEintThe attachment ID to use for the watermark image.
MEDIA_CLOUD_MUX_WATERMARK_WIDTHintThe width, in pixels, of the watermark image when applied to a 1920×1080 video. This value will be scaled accordingly for different size videos.
MEDIA_CLOUD_MUX_WATERMARK_VERTICAL_ALIGNstringThe vertical alignment of the watermark. Valid values are top, middle, bottom.
MEDIA_CLOUD_MUX_WATERMARK_VERTICAL_MARGINintThe vertical margin, in pixels, of the watermark image when applied to a 1920×1080 video. This value will be scaled accordingly for different size videos.
MEDIA_CLOUD_MUX_WATERMARK_HORIZONTAL_ALIGNstringThe horizontal alignment of the watermark. Valid values are left, center, right.
MEDIA_CLOUD_MUX_WATERMARK_HORIZONTAL_MARGINintThe horizontal margin, in pixels, of the watermark image when applied to a 1920×1080 video. This value will be scaled accordingly for different size videos.
MEDIA_CLOUD_MUX_WATERMARK_OPACITYintThe opacity of the watermark. 0-100.
MEDIA_CLOUD_MUX_PROCESS_UPLOADSbooleanWhen enabled, after a video is uploaded to cloud storage it will be imported it to Mux Video. If disabled, you must use the Mux upload tool.
MEDIA_CLOUD_MUX_DELETE_UPLOADSbooleanWhen enabled, when you delete a video from the media library, the associated asset on Mux will be deleted too.