Skip to main content

ASPxClientHtmlEditorInsertYouTubeVideoCommandArguments.showVideoInfo Property

Determines if the target YouTube video title and player actions (Watch later, Share) are shown.

Declaration

showVideoInfo: boolean

Property Value

Type Description
boolean

true, to display the title and player actions; otherwise, false.

Remarks

// Inserting a new YouTube video element at the current cursor position
var args = new ASPxClientHtmlEditorInsertYouTubeVideoCommandArguments(htmlEditor);
args.enablePrivacyEnhancedMode = true;
args.showPlayerControls = true;
args.showRelatedVideos = false;
args.showVideoInfo = true;
args.src = "https://www.youtube.com/watch?v=jEddDJyWlBM";
htmlEditor.ExecuteCommand(args.GetCommandName(), args);
See Also