Version 20.1

VideoPlayerModel Class Properties

For a list of all members of this type, see VideoPlayerModel members.

Public Properties
 NameDescription
Public PropertyAutohideSet whether player controls will auto hide when video is not hovered. This is applicable only when Infragistics playback controls are used.  
Public PropertyAutoplaySet whether the video should start playing immediately after the control is loaded.  
Public PropertyBannersSet custom banners.  
Public PropertyBookmarksSet an array of bookmarks that will be displayed in the video player control.  
Public PropertyBrowserControlsSet whether if you want to use the built in browser controls. By default player uses Infragistics playback controls. Note that you may have different look and feel accross different browsers if you use the built in browser controls.  
Public PropertyCenterButtonHideDelay  
Public PropertyClientEventsSet implementations of client events raised by a widget.

Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events.

Examples:

1. Full implementation:

new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } }

2. Content of inline function:

new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } }

3. Name of global function:

new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note:

Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used.

Example:

new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public PropertyCommercialOptions  
Public PropertyFullscreenSet whether the video player to be in full screen or not. This is not a pure full screen, because browsers do not allow that. It just sets 100% width and height to the control.  
Public PropertyHeightSet the height of the control. By default null will stretch the control to fit data, if no other heights are defined.  
Public PropertyHtmlAttributesSets custom attributes of the div on which the VideoPlayer widget will be created.  
Public PropertyIDSet the ID of the div on which the VideoPlayer widget will be created.  
Public PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLocaleGets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLoopSet whether the video to start again after it has ended.  
Public PropertyMutedSet whether video volume is muted.  
Public PropertyPosterUrlSet a URL to an image to show, when no video data is available.  
Public PropertyPreloadSet whether to preload load inital data for duration of video. If true it may start buffering the video, but this highly depends on the specific browser implementation.  
Public PropertyProgressLabelFormatSets the format of the video progress label. You should use ${currentTime} to represent current playback position and ${duration} to represent video duration.  
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyRelatedVideosSet an array of related videos that will be displayed when video playback has ended.  
Public PropertyShowSeekTimeSet whether the control seek tool tip will be shown when hovering the video progress bar.  
Public PropertySourcesSet a list of video sources to choose from. Best coded/format is automatically detected by this control. Supported types are depending on the browser and could be one of the following mov, mp4, webm, ogv.  
Public PropertyTitleSet video title.  
Public PropertyVolumeSet the video volume. It can be between 0.0 and 1.0.  
Public PropertyVolumeAutohideDelaySet volume slider auto hide delay. This is applicable only when Infragistics playback controls are used.  
Public PropertyWidthSet the width of the control. By default null will stretch the control to fit data, if no other widths are defined.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub