Click or drag to resize
MagnificPopupYouTubeLinkBuilderGetLink Method
Returns link that can be used on provided page to show YouTube video in Magnific Popup lightbox.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public string GetLink(
	string videoID,
	string linkID,
	string content
)

Parameters

videoID
Type: SystemString
YouTube video ID
linkID
Type: SystemString
Unique client ID that element will have
content
Type: SystemString
Content that will be in the link

Return Value

Type: String
Exceptions
ExceptionCondition
ArgumentExceptionvideoID or linkID or content is null or empty
See Also