static function MediaSoundCloudStreamWrapper::getMimeType in Media: SoundCloud 7
Same name and namespace in other branches
- 7.2 includes/MediaSoundCloudStreamWrapper.inc \MediaSoundCloudStreamWrapper::getMimeType()
File
- includes/
MediaSoundCloudStreamWrapper.inc, line 40 - Create a SoundCloud Stream Wrapper class for the Media/Resource module.
Class
- MediaSoundCloudStreamWrapper
- Create an instance like this: $soundcloud = new ResourceSoundCloudStreamWrapper('soundcloud://u/[user-name]/a/[audio-code]');
Code
static function getMimeType($uri, $mapping = NULL) {
return 'audio/soundcloud';
}