Intersoft ClientUI Documentation
VideoPlayer Class
Members 



Provides a lightweight control to display a video complete with its player.
Object Model
VideoPlayer ClassISFramework Class
Syntax
<TemplatePartAttribute(Name="MediaPlayerBackgroundElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="MediaPlayerContainerElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="SoundIconElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="MediaElement", Type=System.Windows.Controls.MediaElement)>
<TemplatePartAttribute(Name="FullScreenInButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)>
<TemplatePartAttribute(Name="BackgroundElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="MediaContainerElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="FullScreenOutButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)>
<TemplatePartAttribute(Name="PlayButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)>
<TemplatePartAttribute(Name="PauseButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="SoundElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="SoundBorderElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="MediaPlayerProgressElement", Type=System.Windows.Controls.TextBlock)>
<TemplatePartAttribute(Name="MediaPlayerElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="VisualElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="MediaPlayerTrackerProgressElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="MediaPlayerTrackerPointElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="VideoDownloaderElement", Type=System.Windows.Controls.Grid)>
<DescriptionAttribute("Provides a lightweight control to display a video complete with its player.")>
<TemplatePartAttribute(Name="VideoProgressBar", Type=Intersoft.Client.UI.Controls.UXProgressBar)>
<TemplatePartAttribute(Name="MediaPlayerTrackerPlayElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="MediaPlayerTrackerElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="SoundPointElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="SoundTrackerElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="FirstFrameButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)>
<TemplatePartAttribute(Name="MediaPlayerTrackerBorderElement", Type=System.Windows.Controls.Border)>
Public Class VideoPlayer 
   Inherits Intersoft.Client.Framework.ISControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing 
Dim instance As VideoPlayer
[TemplatePartAttribute(Name="MediaPlayerBackgroundElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="MediaPlayerContainerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundIconElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="MediaElement", Type=System.Windows.Controls.MediaElement)]
[TemplatePartAttribute(Name="FullScreenInButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="BackgroundElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaContainerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="FullScreenOutButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="PlayButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="PauseButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundBorderElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaPlayerProgressElement", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="MediaPlayerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="VisualElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="MediaPlayerTrackerProgressElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaPlayerTrackerPointElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="VideoDownloaderElement", Type=System.Windows.Controls.Grid)]
[DescriptionAttribute("Provides a lightweight control to display a video complete with its player.")]
[TemplatePartAttribute(Name="VideoProgressBar", Type=Intersoft.Client.UI.Controls.UXProgressBar)]
[TemplatePartAttribute(Name="MediaPlayerTrackerPlayElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaPlayerTrackerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundPointElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundTrackerElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="FirstFrameButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="MediaPlayerTrackerBorderElement", Type=System.Windows.Controls.Border)]
public class VideoPlayer : Intersoft.Client.Framework.ISControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
[TemplatePartAttribute(Name="MediaPlayerBackgroundElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="MediaPlayerContainerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundIconElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="MediaElement", Type=System.Windows.Controls.MediaElement)]
[TemplatePartAttribute(Name="FullScreenInButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="BackgroundElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaContainerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="FullScreenOutButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="PlayButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="PauseButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundBorderElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaPlayerProgressElement", Type=System.Windows.Controls.TextBlock)]
[TemplatePartAttribute(Name="MediaPlayerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="VisualElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="MediaPlayerTrackerProgressElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaPlayerTrackerPointElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="VideoDownloaderElement", Type=System.Windows.Controls.Grid)]
[DescriptionAttribute("Provides a lightweight control to display a video complete with its player.")]
[TemplatePartAttribute(Name="VideoProgressBar", Type=Intersoft.Client.UI.Controls.UXProgressBar)]
[TemplatePartAttribute(Name="MediaPlayerTrackerPlayElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="MediaPlayerTrackerElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundPointElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="SoundTrackerElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="FirstFrameButton", Type=Intersoft.Client.UI.Aqua.UXFlow.VideoPlayerButton)]
[TemplatePartAttribute(Name="MediaPlayerTrackerBorderElement", Type=System.Windows.Controls.Border)]
public ref class VideoPlayer : public Intersoft.Client.Framework.ISControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
Remarks

VideoPlayer is a full-featured video player control with advanced media playback features supporting all media types in Silverlight. It supports two playback mode, real-time buffering or full download.

Specifying Video Source

Video source is a string formatted URI that points to the target source. You can use relative path or absolute path for the value, but it needs to be in string representation.

XAML
Copy Code
<Intersoft:VideoPlayer HorizontalAlignment="Center" Height="300" Width="400" VerticalAlignment="Center" VideoSource="movie.wmv"/>
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               Intersoft.Client.Framework.ISControl
                  Intersoft.Client.UI.Aqua.UXFlow.VideoPlayer

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VideoPlayer Members
Intersoft.Client.UI.Aqua.UXFlow Namespace

Concepts

VideoPlayer

Send Feedback