- 浏览: 1538779 次
- 性别:
- 来自: 杭州
文章分类
- 全部博客 (525)
- SEO (16)
- JAVA-EE-Hibernate (6)
- JAVA-EE-Struts (29)
- JAVA-EE-Spring (15)
- Linux (37)
- JAVA-SE (29)
- NetWork (1)
- CMS (14)
- Semantic Research (3)
- RIA-Flex (0)
- Ajax-Extjs (4)
- Ajax-Jquery (1)
- www.godaddy.com (0)
- SSH (34)
- JavaScript (6)
- SoftwareEngineer (9)
- CMMI (0)
- IDE-Myeclipse (3)
- PHP (1)
- Algorithm (3)
- C/C++ (18)
- Concept&Items (2)
- Useful WebSite (1)
- ApacheServer (2)
- CodeReading (1)
- Socket (2)
- UML (10)
- PowerDesigner (1)
- Repository (19)
- MySQL (3)
- SqlServer (0)
- Society (1)
- Tomcat (7)
- WebService (5)
- JBoss (1)
- FCKeditor (1)
- PS/DW/CD/FW (0)
- DesignPattern (11)
- WebSite_Security (1)
- WordPress (5)
- WebConstruction (3)
- XML|XSD (7)
- Android (0)
- Project-In-Action (9)
- DatabaseDesign (3)
- taglib (7)
- DIV+CSS (10)
- Silverlight (52)
- JSON (7)
- VC++ (8)
- C# (8)
- LINQ (1)
- WCF&SOA (5)
- .NET (20)
- SOA (1)
- Mashup (2)
- RegEx (6)
- Psychology (5)
- Stock (1)
- Google (2)
- Interview (4)
- HTML5 (1)
- Marketing (4)
- Vaadin (2)
- Agile (2)
- Apache-common (6)
- ANTLR (0)
- REST (1)
- HtmlAnalysis (18)
- csv-export (3)
- Nucth (3)
- Xpath (1)
- Velocity (6)
- ASP.NET (9)
- Product (2)
- CSS (1)
最新评论
-
lt26w:
理解成门面模式应该比较容易明白吧
FacadePattern-Java代码实例讲解 -
lt26w:
看下面的例子比较明白.
FacadePattern-Java代码实例讲解 -
javaloverkehui:
这也叫文档,别逗我行吗,也就自己看看。
HtmlCleaner API -
SE_XiaoFeng:
至少也应该写个注释吧。
HtmlCleaner API -
jfzshandong:
...
org.springframework.web.filter.CharacterEncodingFilter 配置
http://www.chenjiliang.com/Article/View.aspx?ArticleID=13574&TypeID=99
再看设计2008-11-22修改为最新版本
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="Kkun.KkunMovie" Width="600" Height="400" x:Name="GlobeFrame" Foreground="#FF1D1D1D" Background="#FF1D1D1D"> <UserControl.Resources> <Style x:Name="VolumeSliderStyle" TargetType="Rectangle"> <Setter Property="Fill" Value="#FF414141"></Setter> <Setter Property="Stroke" Value="#002A2A29"></Setter> <Setter Property="StrokeThickness" Value="0"></Setter> <Setter Property="RadiusX" Value="0"></Setter> <Setter Property="RadiusY" Value="0"></Setter> <Setter Property="HorizontalAlignment" Value="Right"></Setter> <Setter Property="VerticalAlignment" Value="Top"></Setter> <Setter Property="Height" Value="20"></Setter> <Setter Property="Cursor" Value="Hand"></Setter> </Style> </UserControl.Resources> <Grid x:Name="Frame" Width="Auto" Height="Auto"> <!--FrameIframe--> <Rectangle Fill="#FF1D1D1D" Stroke="#FF2A2A29" RadiusX="10" RadiusY="10" Margin="0,0,0,0" x:Name="FrameIframe" d:IsLocked="True" /> <!--播放区框架--> <Grid Margin="10,30,10,11" x:Name="播放区框架"> <MediaElement x:Name="TstringMovieObject" Margin="2,2,2,31" Source="111.WMV" Canvas.ZIndex="10"/> <!--PlayScreen--> <Rectangle Stroke="#FF2A2A29" StrokeThickness="1" RadiusX="0" RadiusY="0" Margin="0,0,0,30" x:Name="PlayScreen" Fill="#FF000000" /> <!--播放状态切换--> <TextBlock x:Name="ControlPlay" Cursor="Hand" HorizontalAlignment="Left" Margin="0,0,0,2" VerticalAlignment="Bottom" Width="Auto" Height="Auto" FontSize="16" Foreground="#FFFFFFFF" Text="播放" TextWrapping="Wrap"/> <!--音量控制--> <Grid HorizontalAlignment="Right" Margin="0,10,10,50" x:Name="VolumeSlider" VerticalAlignment="Center" Width="Auto" Height="Auto" Canvas.ZIndex="100" Background="#00000000"> <Rectangle x:Name="_1" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Top" Width="30" Height="21"/> <Rectangle x:Name="_2" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,20,0,0" VerticalAlignment="Top" Width="30" Height="21"/> <Rectangle x:Name="_3" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,40,0,0" VerticalAlignment="Top" Width="29" Height="21"/> <Rectangle x:Name="_4" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,60,0,0" VerticalAlignment="Top" Width="28" Height="21"/> <Rectangle x:Name="_5" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,80,0,0" VerticalAlignment="Top" Width="27" Height="21"/> <Rectangle x:Name="_6" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,100,0,0" VerticalAlignment="Top" Width="26" Height="21"/> <Rectangle x:Name="_7" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,120,0,0" VerticalAlignment="Top" Width="25" Height="21"/> <Rectangle x:Name="_8" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,140,0,0" VerticalAlignment="Top" Width="24" Height="21"/> <Rectangle x:Name="_9" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,160,0,0" VerticalAlignment="Top" Width="23" Height="21"/> <Rectangle x:Name="_10" Fill="#FF414141" Stroke="#002A2A29" StrokeThickness="0" RadiusX="0" RadiusY="0" HorizontalAlignment="Right" Margin="0,180,0,0" VerticalAlignment="Top" Width="22" Height="21"/> </Grid> <Grid Margin="40,0,0,2" x:Name="SliderProcessBar" VerticalAlignment="Bottom" Height="20" HorizontalAlignment="Stretch" Canvas.ZIndex="9"> <!--加载进度--> <Grid x:Name="DownloadedPercent" Canvas.ZIndex="11" HorizontalAlignment="Left" Width="Auto"> <Rectangle x:Name="TstringSliderLoaded" Cursor="Hand" Fill="#FF4F4F4F" Stroke="#00A5A5A5" StrokeThickness="0" RadiusX="5" RadiusY="5" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Stretch" Margin="0,0,0,0" > <Rectangle.RenderTransform> <TransformGroup> <ScaleTransform ScaleX="-1" ScaleY="1"/> <SkewTransform AngleX="0" AngleY="0"/> <RotateTransform Angle="0"/> <TranslateTransform X="0" Y="0"/> </TransformGroup> </Rectangle.RenderTransform> </Rectangle> <TextBlock x:Name="TstringSliderLoadedPercentText" HorizontalAlignment="Right" Margin="0,0,10,0" Width="Auto" FontFamily="Verdana" FontSize="10" FontWeight="Normal" Foreground="#FF9D9D9D" Text="56%" TextWrapping="Wrap" VerticalAlignment="Center" /> </Grid> <!--播放进度--> <Rectangle x:Name="TstringPlayState" Cursor="Hand" Canvas.ZIndex="12" Stroke="#00A5A5A5" StrokeThickness="2" RadiusX="5" RadiusY="5" Width="1" HorizontalAlignment="Left"> <Rectangle.Resources> <SolidColorBrush x:Key="BrushVistaStyle" Color="#FF3D3838"/> </Rectangle.Resources> <Rectangle.Fill> <LinearGradientBrush EndPoint="0.524,0.498" StartPoint="0.524,0.502"> <GradientStop Color="#FF313131" Offset="0.0"/> <GradientStop Color="#FF414141" Offset="1"/> </LinearGradientBrush> </Rectangle.Fill> </Rectangle> <!--播放进度背景--> <Rectangle x:Name="TstringSliderBg" Cursor="Hand" Canvas.ZIndex="10" Fill="#FF767676" Stroke="#FF1A1A1A" StrokeThickness="0" RadiusX="5" RadiusY="5" OpacityMask="#FF313131" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Stretch" Margin="0,0,0,0"> <Rectangle.RenderTransform> <TransformGroup> <ScaleTransform ScaleX="-1" ScaleY="1"/> <SkewTransform AngleX="0" AngleY="0"/> <RotateTransform Angle="0"/> <TranslateTransform X="0" Y="0"/> </TransformGroup> </Rectangle.RenderTransform> </Rectangle> </Grid> </Grid> <!--右上角装饰方框--> <Grid Margin="0,8,20,0" x:Name="右上角装饰方框" VerticalAlignment="Top" Height="15" HorizontalAlignment="Right" Width="Auto" d:IsLocked="True"> <!--影片合适大小--> <Rectangle x:Name="tPlayButton" ToolTipService.ToolTip="播放" Cursor="Hand" Fill="#FF5A5A5A" Stroke="#FF2A2A29" StrokeThickness="0" RadiusX="2" RadiusY="2" Width="15" HorizontalAlignment="Left" Margin="0,0,0,0"/> <!--影片合适大小--> <Rectangle x:Name="tFullScreenButton" ToolTipService.ToolTip="全屏" Cursor="Hand" Fill="#FF5A5A5A" Stroke="#FF2A2A29" StrokeThickness="0" RadiusX="2" RadiusY="2" Margin="17,0,0,0" HorizontalAlignment="Left" Width="15"/> <!--静音--> <Rectangle x:Name="tMutedButton" ToolTipService.ToolTip="静音" Cursor="Hand" Fill="#FF5A5A5A" Stroke="#FF2A2A29" StrokeThickness="0" RadiusX="2" RadiusY="2" Width="15" HorizontalAlignment="Left" Margin="34,0,0,0"/> <!--循环播放--> <Rectangle x:Name="tLoop" ToolTipService.ToolTip="循环" Cursor="Hand" Fill="#FF5A5A5A" Stroke="#FF2A2A29" StrokeThickness="0" RadiusX="2" RadiusY="2" Width="15" HorizontalAlignment="Left" Margin="51,0,0,0"/> </Grid> <!--网址--> <TextBlock Cursor="Hand" HorizontalAlignment="Left" Margin="10,10,0,0" x:Name="网址" VerticalAlignment="Top" Width="Auto" Height="Auto" Foreground="#FFAAAAAA" Text="tstring.com.cn" TextWrapping="Wrap" d:IsLocked="True"/> <!--提示信息--> <TextBlock HorizontalAlignment="Center" Margin="0,0,0,0" x:Name="tbInfo" VerticalAlignment="Center" FontSize="20" FontWeight="Bold" Text="缓冲" TextWrapping="Wrap"/> </Grid> </UserControl>
最后源码2008-11-22修改为最新版本
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace Kkun { public partial class KkunMovie : UserControl { public bool IsLeftButtonPressed = false; public bool IsLoop = false; public KkunMovie() { InitializeComponent(); this.Loaded += new RoutedEventHandler(TstringMovieControl_Loaded); } void TstringMovieControl_Loaded(object sender, RoutedEventArgs e) { InitializeEvent(); } private void InitializeEvent() { tbInfo.Text = string.Empty; VolumeSlider.Opacity = 0; VolumeSlider.MouseEnter += new MouseEventHandler(VolumeSlider_MouseEnter); VolumeSlider.MouseLeave += new MouseEventHandler(VolumeSlider_MouseLeave); TstringMovieObject.MediaOpened += new RoutedEventHandler(TstringMovieObject_MediaOpened); TstringMovieObject.DownloadProgressChanged += new RoutedEventHandler(TstringMovieObject_DownloadProgressChanged); TstringMovieObject.MarkerReached += new TimelineMarkerRoutedEventHandler(TstringMovieObject_MarkerReached); TstringMovieObject.MediaEnded += new RoutedEventHandler(TstringMovieObject_MediaEnded); TstringMovieObject.CurrentStateChanged += new RoutedEventHandler(TstringMovieObject_CurrentStateChanged); ControlPlay.MouseLeftButtonDown += new MouseButtonEventHandler(ControlPlay_MouseLeftButtonDown); tMutedButton.MouseLeftButtonDown += new MouseButtonEventHandler(tMutedButton_MouseLeftButtonDown); tPlayButton.MouseLeftButtonDown += new MouseButtonEventHandler(ControlPlay_MouseLeftButtonDown); tFullScreenButton.MouseLeftButtonDown += new MouseButtonEventHandler(tFullScreenButton_MouseLeftButtonDown); tLoop.MouseLeftButtonDown += new MouseButtonEventHandler(tLoop_MouseLeftButtonDown); TstringPlayState.MouseLeftButtonDown += new MouseButtonEventHandler(TstringPlayState_MouseLeftButtonDown); TstringPlayState.MouseMove += new MouseEventHandler(TstringPlayState_MouseMove); TstringPlayState.MouseLeftButtonUp += new MouseButtonEventHandler(TstringPlayState_MouseLeftButtonUp); DownloadedPercent.MouseLeftButtonDown += new MouseButtonEventHandler(TstringPlayState_MouseLeftButtonDown); DownloadedPercent.MouseMove += new MouseEventHandler(TstringPlayState_MouseMove); DownloadedPercent.MouseLeftButtonUp += new MouseButtonEventHandler(TstringPlayState_MouseLeftButtonUp); #region Application.Current.Host.Content.FullScreenChanged += new EventHandler(Content_FullScreenChanged); for (int i = 1; i <= 20; i++) { Rectangle VolumeItem = (Rectangle) this.FindName(string.Format("_{0}", i)); if (VolumeItem != null) { VolumeItem.MouseEnter += new MouseEventHandler(VolumeItem_MouseEnter); VolumeItem.MouseLeave += new MouseEventHandler(VolumeItem_MouseEnter); } } #endregion } void TstringMovieObject_CurrentStateChanged(object sender, RoutedEventArgs e) { switch (this.TstringMovieObject.CurrentState) { case MediaElementState.Buffering: this.Info("Buffering"); break; case MediaElementState.Closed: this.Info("Closed"); break; case MediaElementState.Opening: this.Info("Opening"); break; case MediaElementState.Paused: this.Info("Paused"); break; case MediaElementState.Playing: this.Info(null); break; case MediaElementState.Stopped: this.Info("Stopped"); break; default: this.Info(null); break; } } void tLoop_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { IsLoop = !IsLoop; tLoop.Opacity = IsLoop ? 0.5 : 1; } void TstringMovieObject_MediaEnded(object sender, RoutedEventArgs e) { if (IsLoop) { ControlPlay_MouseLeftButtonDown(sender, null); } tPlayButton.Opacity = 1; ControlPlay.Text = "重播"; TstringPlayState.Width = 0; DownloadedPercent.Width = OffsetLoadedProcessBarLeng(); TstringMovieObject.Position = new TimeSpan(0, 0, 0); TstringSliderLoadedPercentText.Text = string.Empty; } void TstringMovieObject_DownloadProgressChanged(object sender, RoutedEventArgs e) { DownloadedPercent.Width = TstringMovieObject.DownloadProgress * OffsetLoadedProcessBarLeng(); TstringSliderLoadedPercentText.Text = string.Format("{0}%", (int) (TstringMovieObject.DownloadProgress * 100)); } void TstringSliderBg_MouseLeave(object sender, MouseEventArgs e) { IsLeftButtonPressed = false; } void TstringPlayState_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { IsLeftButtonPressed = false; } void TstringPlayState_MouseMove(object sender, MouseEventArgs e) { if (IsLeftButtonPressed) { double seconds = this.TstringMovieObject.NaturalDuration.TimeSpan.TotalSeconds; TstringPlayState.Width = e.GetPosition((UIElement) sender).X; TstringMovieObject.Position = new TimeSpan(0, 0, (int) (seconds / OffsetLeng() * TstringPlayState.Width)); } } void TstringPlayState_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (!IsLeftButtonPressed) { IsLeftButtonPressed = true; double seconds = this.TstringMovieObject.NaturalDuration.TimeSpan.TotalSeconds; TstringPlayState.Width = e.GetPosition((UIElement) sender).X; TstringMovieObject.Position = new TimeSpan(0, 0, (int) (seconds / OffsetLeng() * TstringPlayState.Width)); } } void tFullScreenButton_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Application.Current.Host.Content.IsFullScreen = !Application.Current.Host.Content.IsFullScreen; FrameIframe.Visibility = Application.Current.Host.Content.IsFullScreen ? Visibility.Collapsed : Visibility.Visible; tFullScreenButton.Opacity = Application.Current.Host.Content.IsFullScreen ? 0.5 : 1; } void tMutedButton_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { TstringMovieObject.IsMuted = !TstringMovieObject.IsMuted; tMutedButton.Opacity = TstringMovieObject.IsMuted ? 0.5 : 1; } void VolumeSlider_MouseLeave(object sender, MouseEventArgs e) { VolumeSlider.Opacity = 0; } void VolumeSlider_MouseEnter(object sender, MouseEventArgs e) { VolumeSlider.Opacity = 1; } void Content_FullScreenChanged(object sender, EventArgs e) { if (Application.Current.Host.Content.IsFullScreen) { GlobeFrame.Width = Application.Current.Host.Content.ActualWidth; GlobeFrame.Height = Application.Current.Host.Content.ActualHeight; } else { GlobeFrame.Width = 600; GlobeFrame.Height = 400; } DownloadedPercent.Width = this.Width - 60; } void VolumeItem_MouseEnter(object sender, MouseEventArgs e) { Rectangle VolumeItem = e.OriginalSource as Rectangle; if (VolumeItem != null) { double _CurrentIndex = double.Parse(VolumeItem.Name.Replace("_", "")); for (int i = 1; i <= 20; i++) { Rectangle _TempRectangle = (Rectangle) this.FindName("_" + i); if (_TempRectangle != null) { if (i >= _CurrentIndex) { _TempRectangle.Opacity = 1; } else { _TempRectangle.Opacity = 0.2; } } } this.TstringMovieObject.Volume = 1 - _CurrentIndex / 10; } } void TstringMovieObject_MarkerReached(object sender, TimelineMarkerRoutedEventArgs e) { if (this.TstringMovieObject.NaturalDuration.TimeSpan.TotalSeconds > 0) { TstringPlayState.Width = e.Marker.Time.TotalSeconds * OffsetLeng() / this.TstringMovieObject.NaturalDuration.TimeSpan.TotalSeconds; } } void TstringMovieObject_MediaOpened(object sender, RoutedEventArgs e) { double seconds = this.TstringMovieObject.NaturalDuration.TimeSpan.TotalSeconds; for (int i = 1; i < OffsetLeng(); i++) { TimelineMarker marker = new TimelineMarker(); double time = seconds / OffsetLeng() * i; marker.Time = new TimeSpan(0, 0, (int) time); marker.Text = time.ToString(); marker.Type = "Slider"; this.TstringMovieObject.Markers.Add(marker); } } void ControlPlay_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { switch (this.TstringMovieObject.CurrentState) { case MediaElementState.Paused: this.TstringMovieObject.Play(); tPlayButton.Opacity = 1; ControlPlay.Text = "播放"; this.Info(string.Empty); break; case MediaElementState.Playing: this.TstringMovieObject.Pause(); tPlayButton.Opacity = 0.5; ControlPlay.Text = "暂停"; this.Info("暂停"); break; case MediaElementState.Stopped: this.TstringMovieObject.Pause(); tPlayButton.Opacity = 1; ControlPlay.Text = "播放"; break; default: break; } } #region Method private double OffsetLoadedProcessBarLeng() { return this.Width - 60; } private double OffsetLeng() { return this.Width - 140; } private void Info(string Information) { if (string.IsNullOrEmpty(Information)) { tbInfo.Text = string.Empty; } else { tbInfo.Text = Information; } } #endregion } }
说明
下载:http://files.cnblogs.com/kkun/KkunMovie.rar
开发工具:Microsoft Expression Blend 2,Microsoft Visual Studio 2008,c#
布局基本上都是相对位置,设置总长宽则所有控件均按比例绽放
下载完成后唯一要做的就是在TestPage页面目录下添加一个111.wmv格式的视频文件,这个属性在xaml的26行
如何卸载旧的SL客户端,TOOLS,SDK?请跟我来
http://forums.microsoft.com/china/ShowPost.aspx?PostID=4120391&SiteID=15
发表评论
-
SilverLight异步调用WebService出错!
2010-01-19 12:58 5397SilverLight异步调用WebService出错! ... -
Silverlight播放器 C#语言
2010-01-13 13:30 3302这段时间研究Silverlight中的MediaElement ... -
使用Silverlight,制作简单播放器的一点点心得。
2010-01-13 13:28 3657首先介绍什么是Silverligh ... -
初探silverlight--简易播放器
2010-01-13 13:28 1518<UserControl xmlns=" ... -
Silverlight教程第四部分:使用 Style 元素更好地封装观感
2010-01-12 22:11 1265Silverlight教程第四部分 ... -
Silverlight Carousel: Creating a Silverlight Control Displays Picture in an Inte
2010-01-12 18:18 1895http://www.codeproject.com/KB/s ... -
Using projection to build a 3D carousel in Silverlight 3
2010-01-12 18:14 2329http://ww ... -
CoverFlow – built using Silverlight 3's 'Projection' feature
2010-01-12 18:11 1888CoverFlow – built using Silver ... -
silverlight动画播放停止重播等控制
2010-01-06 12:38 1382ani.begin() ani.stop(); ani. ... -
silverlight速学范例100
2010-01-06 12:37 1274silverlight速学范例100 ... -
Silverlight 中的 HTTP 通信和安全
2010-01-04 23:43 2007Silverlight 中的 HTTP 通信和安全 < ... -
Visual Studio的 诡异bug(mscorlib无法引用)引发的对话 and Silverlight XAML 构造出错
2010-01-04 09:25 4124... -
Silverlight常见问题及解决方法
2009-12-22 14:06 1277Silverlight常见问题及解决方法 ... -
网上常用免费webservice 查询
2009-12-22 12:47 4596网上常用免费webservice 查询 2008-11 ... -
必应 Bing 新特性之最新文章, Wolfram|Alpha 整合, 天气搜索等已推出
2009-12-21 23:33 1528必应 Bing 增加了一项“最新文章”的搜索结果特性,例如下图 ... -
下载silverlight官网的全部视频教程
2009-12-21 23:30 14854Silverlight官网提供了许 ... -
Silverlight客户端和WCF服务器端共享类库
2009-12-21 23:21 1831在Silverlight企业级项目开发中,访问数据库是很常见的 ... -
Create a Silverlight Europe weather map
2009-12-21 22:55 1593I don’t generally fi ... -
必应地图图片系统(Tile System)之二
2009-12-21 22:53 2321【坐标系和地图图片编 ... -
必应地图SilverLight控件入门讲座之六:显示街景(Streetside)
2009-12-21 22:51 4876必应地图SilverLight控件入门讲座之六:显示街景(St ...
相关推荐
通过开源的方式,开发者可以深入研究微软官方Silverlight视频播放器的内部机制,学习如何优化视频流处理、提高用户体验,并可以根据自己的需求进行定制化开发。此外,开源社区的贡献和支持也是该项目不断改进和升级...
在C#中开发Silverlight应用程序,主要依赖于Visual Studio集成开发环境,通过Silverlight项目模板,开发者可以快速搭建起项目框架。在本项目中,`SilverlightApplication1.dll`是编译后的程序集文件,它包含了项目的...
本篇将深入探讨Silverlight视频播放器的源码,揭示其工作原理和关键功能。 首先,Silverlight播放器的核心在于对媒体文件的处理,这主要依赖于`MediaElement`控件。`MediaElement`是Silverlight提供的内置控件,...
**Silverlight 播放器**是基于微软的Silverlight技术构建的一款多媒体播放软件,它专为播放MP4和FLV格式的视频文件而设计。本文将深入探讨Silverlight技术,播放器的功能特性,以及与MP3和FLV格式的关系。 **...
对于那些仍需维护或升级旧系统的企业,理解Silverlight视频播放器的工作原理和开发技巧仍然是必要的。通过学习和实践,开发者可以充分利用Silverlight的媒体处理能力,构建出功能强大且用户体验优秀的视频播放应用。
Silverlight是微软对Flash平台的一种回应,它提供了类似的功能,如富互联网应用(RIA)开发、高清视频流媒体、动画和交互式设计等。通过XAML(Extensible Application Markup Language)进行界面设计,C#或VB.NET...
总之,Silverlight音乐播放器的开发是一个综合性的实践过程,涵盖了多种Silverlight技术,对于提升开发者在富互联网应用领域的技能大有裨益。无论是界面设计、媒体处理还是事件响应,都是Silverlight开发者必须掌握...
Silverlight播放器是一款由微软开发的富互联网应用程序(RIA)平台,主要用于创建和展示丰富的交互式媒体内容,尤其是视频和音频。这款技术在2007年首次发布,是微软对抗Adobe Flash的重要武器。然而,随着HTML5的...
"Silverlight网页播放器"是一种基于Microsoft Silverlight技术的在线视频播放解决方案。Silverlight是微软推出的一个跨浏览器、跨平台的插件,主要用于增强Web应用程序的媒体体验和交互性。这款播放器允许用户将视频...
通过学习源码,我们可以深入了解 Silverlight 的 UI 设计、事件处理、媒体操作等方面的知识,对于提升 Silverlight 开发技能大有裨益。然而,需要注意的是,随着 Silverlight 的逐步退役,开发者应当考虑转向 HTML5 ...
本文将深入探讨Silverlight 4 播放器的相关知识点,包括其核心特性、开发工具、播放器实现、以及与其他技术的集成。 一、Silverlight 4核心特性 1. 改进的浏览器支持:Silverlight 4 支持更多的浏览器,如IE、Fire...
【SilverLight音乐播放器(仿百度音乐抢鲜族)源码_dotnet影音娱乐网站】是一个基于Microsoft Silverlight技术开发的音乐播放器应用,其设计灵感来源于百度音乐的“抢鲜族”功能。这个项目旨在为用户提供一个类似百度...
再者,Silverlight 3的视频播放器控件提供了丰富的自定义选项,开发者可以定制播放器的外观和行为,比如控制条、播放/暂停按钮、进度条、音量控制等。"VideoCarousel_src"可能就是这样一个示例,包含了用于实现视频...
通过本课程的学习,你将具备独立开发功能完善的Silverlight视频播放器的能力,同时也能更好地理解和应用Silverlight在其他富媒体应用中的潜力。在Web开发的不断演变中,虽然Silverlight的使用逐渐减少,但它的设计...
这个“silverlight写的播放器”很可能是一个基于Silverlight技术的视频播放应用,允许用户直接在浏览器中播放多媒体内容,无需安装额外的桌面软件。 Silverlight播放器的工作原理基于插件模型,它在用户的Web...
在本文中,我们将深入探讨如何使用Managed Extensibility Framework (MEF) 在C# 4.0和.NET 4框架下动态加载Silverlight视频播放器。MEF是一种强大的设计模式,它允许应用程序在运行时发现并加载外部组件,极大地提高...
在网页开发中,视频播放器是不可或缺的一部分,它使得用户能够在网页上观看各种视频内容。jQuery,一个广泛使用的JavaScript库,为开发者提供了简化DOM操作、事件处理和动画效果的功能,使得创建交互式视频播放器变...