ASPxClientHtmlEditorInsertVideoCommandArguments.posterUrl Property
Defines the URL of an image that is shown while the video file is downloading, or until an end-user clicks the play button.
Declaration
posterUrl: string
Property Value
Type | Description |
---|---|
string | A string value that specifies the poster image URL. |
Remarks
// Inserting a new video element at the current cursor position
var args = new ASPxClientHtmlEditorInsertVideoCommandArguments(htmlEditor);
args.posterUrl = "/Content/SampleImage.png";
args.src = "/Content/SampleVideo.mp4";
htmlEditor.ExecuteCommand(args.GetCommandName(), args);
See Also