Searched refs:mimeType (Results 1 – 5 of 5) sorted by relevance
69 <?php if (explode('/', $media_file->mimeType())[0] === 'audio') : ?>71 … <source src="<?= e($media_file->downloadUrl('inline')) ?>" type="<?= $media_file->mimeType() ?>">73 <?php elseif (explode('/', $media_file->mimeType())[0] === 'video') : ?>75 … <source src="<?= e($media_file->downloadUrl('inline')) ?>" type="<?= $media_file->mimeType() ?>">
200 'type' => $this->mimeType(),205 $image = view('icons/mime', ['type' => $this->mimeType()]);208 'type' => $this->mimeType(),264 return in_array($this->mimeType(), self::SUPPORTED_IMAGE_MIME_TYPES, true);273 public function mimeType(): string function in Fisharebest\\Webtrees\\MediaFile
86 $mime_type = $filesystem->mimeType(path: $path);111 $mime_type = $filesystem->mimeType(path: $path);146 $mime_type = $media_file->mimeType();184 $mime_type = $filesystem->mimeType(path: $path);207 … return $image->encodeByMediaType(type: $media_file->mimeType(), quality: $quality)->toString();
133 $mime_type = Registry::filesystem()->data()->mimeType($path);230 $mime_type = $data_filesystem->mimeType($row[0]) ?: Mime::DEFAULT_TYPE;
1942 message: '#^Parameter \#1 \$path of method League\\Flysystem\\FilesystemReader\:\:mimeType\(\) expects string, mixed given\.$#'