MediaHelper MembersKentico 8.1 API Reference
The MediaHelper type exposes the following members.
Constructors

  NameDescription
Public methodMediaHelper
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetAllowedHTML5Extensions
Returns the list of allowed media extensions supported by HTML5
Public methodStatic memberGetAllowedImageExtensions
Gets allowed extensions for images depends on settings
Public methodStatic memberGetAudioVideo
Returns HTML code of the audio/video player
Protected methodGetAudioVideoInternal
Returns HTML code of the audio/video player
Public methodStatic memberGetFlash
Returns HTML code of the Flash player.
Protected methodGetFlashInternal
Returns HTML code of the Flash player.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodStatic memberGetImage
Returns HTML code of the image/image with link/image with special behavior.
Protected methodGetImageInternal
Returns HTML code of the image/image with link/image with special behavior.
Public methodStatic memberGetImageStyleAtt
Generates the IMG tag according to given parameters.
Protected methodGetImageStyleAttInternal
Generates the IMG tag according to given parameters.
Public methodStatic memberGetMediaType
Returns media type according to the specified extension.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberGetYouTubeVideo
Returns HTML code of the YouTube player.
Protected methodGetYouTubeVideoInternal
Returns HTML code of the YouTube player.
Public methodStatic memberIsAudio
Returns true if it is audio extension, otherwise returns false.
Protected methodIsAudioInternal
Returns true if it is audio extension, otherwise returns false.
Public methodStatic memberIsAudioVideo
Returns true if it is audio or video extension, otherwise returns false.
Public methodStatic memberIsFlash
Returns true if it is flash extension, otherwise returns false.
Protected methodIsFlashInternal
Returns true if it is flash extension, otherwise returns false.
Public methodStatic memberIsVideo
Returns true if it is video extension, otherwise returns false.
Protected methodIsVideoInternal
Returns true if it is video extension, otherwise returns false.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberRenderHTML5MediaTags
Returns true if rendering of HTML5 media tags is enabled for the given site
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyRegShortYouTube
Regular expression for short youtube URL.
Back to Top
See Also