C# - How To Play Video In Silverlight

Aug 6, 2010

How do yo play a video with silverlight?

does Visual Studio come with a video player component build in? or do I need to make a video player?

View 2 Replies


Similar Messages:

Embed Video Without Play Buttons And Infinitive Play

Jul 2, 2011

I would like also to know the way to have an embedded video in my site that will not have the play buttons and play again and again. Is there a way to do that??

View 2 Replies

Use Silverlight + VB.NET To Play Audio?

Aug 23, 2010

how to use Silverlight to play audio from local ASP.NET folders?

View 1 Replies

How To Upload And Play Video

Mar 8, 2010

i want to upload video file and then paly it on asp.net page.

View 6 Replies

MVC :: How To Play Video Within Application

Jan 3, 2011

I have successfully build the required interface to upload images and videos within my MVC application. When I upload an image it will be displayed successfully in my application. But When I upload a video it will upload successfully, but an "X" will be displayed in the view. and when i click on this "X" the real player application will open and play the video. But what I need is to be able to play the video within my application?

View 6 Replies

Silverlight MediaElement Refusing To Play Audio?

Dec 15, 2010

I am having the hardest time figuring this problem out. I have a Silverlight 4 application that loads audio and video files from URLs. The URLs are the same domain as the application is hosted on and it works great for video.The URLs are actually asp.net mvc controllers that are responsible for reading the file from a shared location on and the server and serving back a filestream. The URLs look something like this:http://localhost:31479/CourseMedia?path=omnisandbox1ILMSShare2Demo-Fire+BehaviormediaDisclaim.wma&encrypted=False&id=00000000-0000-0000-0000-000000000000

If I put the URL directly into the browser the file loads and plays in windows media player just fine, and if I use a separate test silverlight project to load the url it also works, but for the life of me I can not get it to work properly in my main project.This is the routine I use to actually do the source setting:

protected void SetPlayerURL(MediaElement player, string url)
{
if (player != null && url.Length > 0)

[code]...

View 1 Replies

How To Play A Video On Page Loading

Jan 28, 2010

I wants to a play a video on page loading. On pageload the video was not display. But i refresh the page then video play. After that also play ...

What is the problem on page loading?

View 1 Replies

Web Forms :: IE Cannot Play Embedded Video?

May 12, 2010

Method 1:(does not work on IE, works on Firefox, the downloadatt.aspx load video from document server and ouput)

<object width="320" height="240" autoplay="false" controller="true" scale="ASPECT" src="http://localhost/TestVideo/DownloadAtt.aspx">
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>

Method 2 works

<object classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='player' width="320" height="240" standby='Please wait while the object is loaded...'>
<param name='src' value="http://localhost/TestVideo/DownloadAtt.aspx" />
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
</object>

But the problem is that I do not know the video format, so I can not predefine object's classid.

I prefer method 1(since I do not need to worry about the video format), But it does not work on IE, I used to point the src to an ISAPI dll which does the same thing as DownloadAtt.aspx(below) and it works. Now I change to Asp.net, it does not work. :(

Does anybody know how to make the method 1 work?

File DownloadAtt.aspx:

[Code]....

View 9 Replies

Web Forms :: How To Play Video In Browser.

Mar 6, 2011

I want to play the video file from my repository into the web browser using asp.net/c#.

View 3 Replies

Play Any Video File In IE And Mozilla?

Feb 12, 2010

i have used "embed" tag for Flv file, Flash Player for "swf" file and "object tag for other files.. everything working fine with IE but in Mozilla only swf files working properly.. way to play video of any type in IE and Mozilla both

View 2 Replies

Play Video From Database Through Handler?

Jan 7, 2010

I want to play videos through handler which are installed in my database table. I have written code in handler file and Its working in IE but not working in firefox and safari. Please take a look at my code belove and tell me where I am doing wrong and what should I do to working in both browser.

[Code]....

Setting in my web.config file to class hanlder.

[Code]....

View 8 Replies

C# - Upload Stream And Play Video?

Feb 9, 2010

I have to make an interface to upload large videos up to 30MB then stream and convert it into FLV format and then play it in a browser... this is required on my site in the "Video Gallery" module. My web application is in C# and ASP.NET. I can also use jQuery.

I have to send the video file in chunks then merge it at the server, stream it, create thumbnail for the video and then play it.

I found some code but it is all in PHP. I haven't found any C#, ASP.NET code.

Finally I got the code to upload the video file in chunks... like create its thumbnail and display the video in a browser.

Here is code to upload the video in chunks.

Upload button click

protected void btnUploadVideo_Click(object sender, EventArgs e)
{
UploadVideoFile obj = new UploadVideoFile();
string FileName = fuUploadVideo.FileName;
string DestPath = Server.MapPath("Videos");

[Code]....

View 2 Replies

Silverlight And AJAX Play Complementary Roles / Replace Other?

May 18, 2010

AJAX is the big thing...but it seems (to me) that with Silverlight 4 Microsoft has offered a really robust method for creating UI interfaces for the web. I'm wondering - what is the future of AJAX? Do AJAX and Silverlight complement each other or will Silverlight replace AJAX, etc.?

View 4 Replies

Web Forms :: Play Audio - Video On A Webpage

Jan 29, 2010

I'm wth Asp.net, c#. How Can I do Audio ,Vedio streaming for a web page?

View 1 Replies

Web Forms :: How To Play Wave Sound And Video

Apr 18, 2010

how to play wave sound and video by asp.net c#

View 2 Replies

Play Video & Audio File On Page?

Sep 12, 2010

How could i paly a video & audio file on an asp.net page so that the file is determined on the run time

View 2 Replies

Web Forms :: How To Play Flash Video In Tag Dynamically

Jan 29, 2010

i have one confusion. i have added following code to my aspx page for playing video:

[code]....

now here i have one cofusion. i want to play video dynamically. how i can set "../Downloads/Videos/Video2_Part3" Dynamically??

can i do with this approarch, or i have to go for some alternative??

View 6 Replies

Web Forms :: How To Play Uploaded Video In Youtube

Feb 5, 2010

I want to give the videos Upload and Play feature in website, and i want to use youtube for play the uploaded video.

So please suggest me how to upload videos and store these video in sql database and how to link these video to youtube.

View 1 Replies

Web Forms :: How To Play A Live Video In Aspx Page

Mar 29, 2011

I am new to video streaming.

I want to play a live video in aspx page.

How to do that.

View 2 Replies

How To Popup A Jquery Window To Play Youtube Video

May 15, 2010

I need this video to play automatically. It would be nice, this code can play videos from other sources like yahoo etc.. Is it also possible to use HTML5, instead of jquery?

View 4 Replies

Web Forms :: Play Live Video Stream From Database Using C#

Mar 29, 2013

How to save video file in sql . and play on web page in asp.net c#.

View 1 Replies

Web Forms :: How To Play Audio And Video Files In Webpage

Jul 16, 2012

How to play audio and video files...

View 1 Replies

Web Forms :: Silverlight Media Player Change Source And Play From Javascript?

Jan 22, 2010

I am having trouble accessing an embedded Silverlight 2 media player in an aspx page from Javascript and was hoping someone might offer some insight on what's going on.

What I want to do is fire a javascript event on the client when a button is pressed to change the Silverlight media player media source and then play the newly selected file.

I found what seemed like a pretty straightforward example on the silverlight.net site that looked like this:

[Code]....

However, when I run it, I get an error "undefinedObject doesn't support this property or method".

I've confirmed that the client-side id I am using is correct, and I have tried using document.GetElementByID in place of $find (which is what I use elsewhere on the site successfully; my javascript kung fu is weak and I'm not precisely sure what the difference
might be) but it still doesn't work. It all seems like it should work as it was presented in the example, but I only get that error.

View 1 Replies

DataSource Controls :: Play Video From Sql Server To Flash Player Using C#

Mar 31, 2010

I uploaded video in sql-server by using codeproject [URL[ article.this is working fine. Now I want to play this video in flash player like youtube.

how to play video from sql-server to flash player.

View 2 Replies

Data Controls :: Play YouTube Video From Database In DataList

Aug 10, 2013

Follow this LinkĀ [URL] .... in this tutorial can play video popup but i wnat to retrive this video link in sqlserver using datalist ...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved