public function Playlist::setMediaTypes in MediaFront 6
Same name and namespace in other branches
- 6.2 players/osmplayer/player/playlist/Playlist.php \Playlist::setMediaTypes()
- 7 players/osmplayer/player/playlist/Playlist.php \Playlist::setMediaTypes()
Allows you to set the media types used by this class when searching for media files.
Parameters
- An array of extensions to look for when searching for media files.:
File
- players/
osmplayer/ player/ playlist/ Playlist.php, line 138
Class
- Playlist
- Playlist Class
Code
public function setMediaTypes($_mediaTypes) {
$this->mediaTypes = $_mediaTypes;
}