The page has been moved to GitHub

YouTubeButton

Package: MyToolkit.Extended
Platforms: WP7SL, WP8SL

Button with an image preview of the YouTube video. Use the YouTubeButton together with the YouTube class:

<YouTubeButton YouTubeID="youtube movie id" Click="OnButtonClick" />

private void OnButtonClick(object o, RoutedEventArg e)
{
	var ctrl = (YouTubeButton) o;
	YouTube.Play(ctrl.YouTubeID, ...);
}

Last edited Jun 3, 2015 at 10:59 PM by rsuter, version 10