diff --git a/src/Fieldtypes/MuxMirrorFieldtype.php b/src/Fieldtypes/MuxMirrorFieldtype.php index 1e589a0..7c184c3 100644 --- a/src/Fieldtypes/MuxMirrorFieldtype.php +++ b/src/Fieldtypes/MuxMirrorFieldtype.php @@ -57,7 +57,7 @@ public function preload() return [ 'is_asset' => (bool) $asset, - 'is_video' => $asset->isVideo(), + 'is_video' => $asset?->isVideo() ?? false, 'is_proxy' => $muxAsset?->isProxy() ?? false, 'mux' => $muxAsset && $this->config('show_details') ? $this->muxInfo($muxAsset)