The MediaHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| MediaHelper |
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| 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.
| |
Serves as a hash function for a particular type. (Inherited from | ||
| 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.
| |
Gets the (Inherited from | ||
| 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.
| |
Creates a shallow copy of the current (Inherited from | ||
| 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 AbstractHelper HelperType .) | |
Returns a string that represents the current object. (Inherited from |
Extension Methods
| 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.) |
Properties
| Name | Description | |
|---|---|---|
| RegShortYouTube |
Regular expression for short youtube URL.
|
See Also