Method | Description | |
---|---|---|
CanHandlePost ( ContentPanelSource source ) : bool |
Called by the host when it queries if we can handle a post.
|
|
OnDestroyContent ( ) : void |
Fired when we should destroy our content.
|
|
OnHostAdded ( ) : void |
Fired when a new host has been added.
|
|
OnPrepareContent ( ) : void |
Fired when we should load the content.
|
|
OnVisibilityChanged ( bool isVisible ) : void |
Fired when this post becomes visible
|
|
YoutubeContentPanel ( IContentPanelBaseInternal panelBase ) : Baconit.Interfaces |
Method | Description | |
---|---|---|
GetYouTubeVideoUrl ( ContentPanelSource source ) : Task |
Tries to get a youtube link from a post. If it fails it returns null.
|
|
MediaElement_CurrentStateChanged ( object sender, |
Fired when the media state changes
|
|
TryToGetYouTubeId ( ContentPanelSource source ) : string |
Attempts to get a youtube id from a url.
|
static public CanHandlePost ( ContentPanelSource source ) : bool | ||
source | ContentPanelSource | |
return | bool |
public OnVisibilityChanged ( bool isVisible ) : void | ||
isVisible | bool | |
return | void |
public YoutubeContentPanel ( IContentPanelBaseInternal panelBase ) : Baconit.Interfaces | ||
panelBase | IContentPanelBaseInternal | |
return | Baconit.Interfaces |