C# 클래스 SitecoreExtension.TwentythreeVideo.Fields.VideoEmbedLookup

Sitecore Field for Embedding Video, Sets raw value as the iframe EmbedCode so the field is ready to use as raw.
IContentField Enables us to override what is read and written to the Field Raw value with GetValue and SetValue!
상속: LookupEx, IContentField
파일 보기 프로젝트 열기: 1508/23-video-for-sitecore

공개 메소드들

메소드 설명
GetValue ( ) : string

Returns that string to be saved as Raw Field value

SetValue ( string value ) : void

Sets the value of the field based on the Raw field value. Parsed from PhotoId to Embed code so the field is ready for use.

보호된 메소드들

메소드 설명
DoRender ( System.Web.UI.HtmlTextWriter output ) : void

비공개 메소드들

메소드 설명
EmbedCode ( string photo_id ) : string

Renders the value field as video embed code

GetPhotoId ( string embedCode ) : string

Parse PhotoId based on iframe code.

GetPhotoList ( ) : IEnumerable
GetPhotos ( IApiProvider apiProvider ) : List

메소드 상세

DoRender() 보호된 메소드

protected DoRender ( System.Web.UI.HtmlTextWriter output ) : void
output System.Web.UI.HtmlTextWriter
리턴 void

GetValue() 공개 메소드

Returns that string to be saved as Raw Field value
public GetValue ( ) : string
리턴 string

SetValue() 공개 메소드

Sets the value of the field based on the Raw field value. Parsed from PhotoId to Embed code so the field is ready for use.
public SetValue ( string value ) : void
value string
리턴 void