![]() ![]() Silverlight.js is part of the Silverlight SDK and CreateSilverlight.js is shown in Listing 3. You must also provide two JavaScript files. ![]() ![]() Using XAML, define a Canvas that includes a TextBlock with the “Hello World” text and save this file as Hello.xaml ( Listing 1).Ĭreate an HTML page to host the Silverlight control call it Default.html ( Listing 2). I’ll start with a simple Silverlight “Hello World” demonstration. The runtime is surprisingly small (less than 2 MB) and is quick and painless to install. The first time you visit a Silverlight enabled site like, you'll be directed to an installation process. You need to install the Silverlight 1.0 runtime for your browser. ![]() In fact, you’re not locked into the Microsoft platform at all-it’s just as easy to deliver Silverlight experiences from PHP sites on Apache/Linux as it is from ASP.NET sites on a Windows Server. Even Linux users can run Silverlight using Novel’s open-source Moonlight code. Silverlight provides a consistent user experience with Firefox and Safari on the Mac and Firefox and Internet Explorer on Windows. It’s just as easy to deliver Silverlight experiences from PHP sites on Apache/Linux as it is from ASP.NET sites on a Windows Server. Based on XML Application Mark-up Language (XAML), the same technique used in the Windows Presentation Foundation (WPF), Silverlight can be scripted with JavaScript and can work within AJAX-enabled Web pages. Silverlight is a cross-platform, cross-browser plug-in that extends the browser’s Document Object Model (DOM) with vector graphics and multimedia features. In summer 2007, Microsoft released version 1.0 of Silverlight, a revolutionary way to build rich interactive experiences on the Web. In this article I’ll show you how to get started with Silverlight and how to upload your applications and rich media to the Silverlight Streaming Service. One question is arising in my mind that which is the best for playing video flash player or this one while we have a low bandwidth internet connection.Microsoft® Silverlight™ Streaming by Windows Live™ is a free streaming and application hosting service for delivering rich interactive applications (RIAs) over the Web. I don't know anything about Silverlight and this is done using a article, I only changed the source of player nothing else and this is not working. Protected void cmbSkins_SelectedIndexChanged(object sender, EventArgs e) MediaPlayer1.MediaSkinSource = "~/MediaPlayerSkins/" + cmbSkins.SelectedValue + ".xaml" Xx.InnerHtml = Server.MapPath("~/") + "Wildlife.wmv" MediaPlayer1.MediaSource = Server.MapPath("~/") + "Wildlife.wmv" Protected void Page_Load(object sender, EventArgs e) Tell me what is the difference between media element and media player in Silverlight?Īnd this the code behind page: public partial class _Default : .Page I am implementing according the tutorials but the that is not working here I am sending my code please find out what is problem. Here I am new to Silverlight and I have to implement a video player in asp.net with C#, I found some article about video player and media player. ![]()
0 Comments
Leave a Reply. |