MediaHelper Class |
Namespace: CMS.Base.Web.UI
public class MediaHelper : AbstractHelper<MediaHelper>
The MediaHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | MediaHelper |
Name | Description | |
---|---|---|
![]() | RegShortYouTube |
Regular expression for short youtube URL.
|
Name | Description | |
---|---|---|
![]() ![]() | GetAllowedImageExtensions |
Gets allowed extensions for images depends on settings
|
![]() ![]() | GetAudioVideo |
Returns HTML code of the audio/video player
|
![]() | GetAudioVideoInternal |
Returns HTML code of the audio/video player
|
![]() ![]() | GetImage |
Returns HTML code of the image/image with link/image with special behavior.
|
![]() | GetImageInternal |
Returns HTML code of the image/image with link/image with special behavior.
|
![]() ![]() | GetImageStyleAtt |
Generates the IMG tag according to given parameters.
|
![]() | GetImageStyleAttInternal |
Generates the IMG tag according to given parameters.
|
![]() ![]() | GetMediaType |
Returns media type according to the specified extension.
|
![]() ![]() | GetYouTubeVideo |
Returns HTML code of the YouTube player.
|
![]() | GetYouTubeVideoInternal |
Returns HTML code of the YouTube player.
|
![]() ![]() | IsAudio |
Returns true if it is audio extension, otherwise returns false.
|
![]() | IsAudioInternal |
Returns true if it is audio extension, otherwise returns false.
|
![]() ![]() | IsAudioVideo |
Returns true if it is audio or video extension, otherwise returns false.
|
![]() ![]() | IsVideo |
Returns true if it is video extension, otherwise returns false.
|
![]() | IsVideoInternal |
Returns true if it is video extension, otherwise returns false.
|
![]() | SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |