Version

VideoPlayer(String,VideoPlayerModel) Method

Renders a video player widget with the specified id and options in the model.
Syntax
'Declaration
 
Public Overloads Function VideoPlayer( _
   ByVal id As System.String, _
   ByVal videoPlayerModel As VideoPlayerModel _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString VideoPlayer( 
   System.string id,
   VideoPlayerModel videoPlayerModel
)

Parameters

id
The id of the div that will be created for the video player widget.
videoPlayerModel
The model containing the options for the widget.

Return Value

A HTML div with a script tag bellow it that adds the video player widget to the div.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub