ASPxClientHtmlEditorInsertYouTubeVideoCommandArguments.showRelatedVideos Property
In This Article
Determines if suggested videos are shown after the target YouTube video finishes.
#Declaration
TypeScript
showRelatedVideos: boolean
#Property Value
Type | Description |
---|---|
boolean |
|
#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