3 declare(strict_types=1);
29 protected \ILIAS\MediaObjects\MediaType\MediaTypeManager
$media_types;
35 $this->media_types = $DIC->mediaObjects()
44 case \ilObjMediaCast::VIEW_VCAST:
45 return $this->media_types->getVideoSuffixes();
47 case \ilObjMediaCast::VIEW_IMG_GALLERY:
48 return $this->media_types->getImageSuffixes();
50 case \ilObjMediaCast::VIEW_PODCAST:
51 return $this->media_types->getAudioSuffixes();