MediaHelper Methods |
The MediaHelper type exposes the following members.
Name | Description | |
---|---|---|
GetAllowedHTML5Extensions |
Returns the list of allowed media extensions supported by HTML5
| |
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
| |
GetFlash |
Returns HTML code of the Flash player.
| |
GetFlashInternal |
Returns HTML code of the Flash 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.
| |
IsFlash |
Returns true if it is flash extension, otherwise returns false.
| |
IsFlashInternal |
Returns true if it is flash 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.
| |
RenderHTML5MediaTags |
Returns true if rendering of HTML5 media tags is enabled for the given site
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |