el-schneider/statamic-mux-id
Statamic addon for Mux video: upload or select assets, store Mux playback IDs, and render videos in your site. Simplifies Mux integration with fieldtypes and Antlers tags.
composer require <vendor>/<package>
php artisan vendor:publish --tag=mux-config
.env:
MUX_TOKEN_ID=
MUX_TOKEN_SECRET=
resources/blueprints/assets/videos.yaml.Where to look first:
config/mux.php for credentials, queue, and API settings.status: errored with error details rather than breaking the upload.First use case: upload one video, confirm a Mux asset is created, then render the asset in a template only when its metadata status indicates success.
status before using playback IDs or thumbnails. Treat errored as a terminal state and render a fallback or admin-facing warning.tries and backoff on the queue worker/job rather than adding package-level retry logic.status: errored and surface the stored Mux error details in the Control Panel or an internal dashboard. This is the intended v0.1.1 failure path.QUEUE_CONNECTION=sync as well as a real queue. v0.1.1 specifically fixes synchronous queue runs so permanent Mux errors do not abort the Statamic upload.status: errored on asset metadata. Non-4xx failures are rethrown so the queue can retry. Do not catch and swallow those rethrown errors in custom jobs.status before playback: Do not assume every uploaded asset has a playable Mux asset. Gate playback, poster images, and API responses on metadata status.failed_jobs when uploads remain in a non-final state.php artisan statamic:stache:clear
php artisan cache:clear
How can I help you explore Laravel packages today?