Play video in C# web ?

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Hi!

I am designing web pages with C#

I want to play video (for example .avi or .rm ) in my webpage.
How can I do this in C# web page?


( I noticed that in [C# Com ], there is a control called [Window Media]
which can play .avi, however in [C# web] there is no such control tools.)


Thanks!


Martin
 
With web, you generally embed a web player as an object. The user then has
to have that web player installed to view the video in the page. This is how
all of the sites do it.

One option is Silverlight, for which there are plenty of examples. This
requires downloading the Silverlight runtime from the client, but this is
becoming more and more common as Silverlight gains popularity.

For AVI, you can embed the Windows Media control. The user will have to
accept the download if they do not already have it installed and it will
state "do you trust this site", which Silverlight will not, as it is
installed by Microsoft.

For RM, you need a Real Media control. If it were me, I would avoid viewing
video on your site, as I am against the Real plugin. Years ago, I felt
differently, but Real invades the system too much these days, including
making it start on startup as soon as I play a video, even if I told it no
when I installed it. If they clean up their act, I might feel different in
the future.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*************************************************
| Think outside the box! |
*************************************************
 
Thank you for your answering.

Please tell me how to embe the Window Media control ? ( I find everywhere in
C# web but cannot find this control. I can only find the Window Media
control in C# Com Window)

Martin




Cowboy (Gregory A. Beamer) said:
With web, you generally embed a web player as an object. The user then has
to have that web player installed to view the video in the page. This is
how

all of the sites do it.

One option is Silverlight, for which there are plenty of examples. This
requires downloading the Silverlight runtime from the client, but this is
becoming more and more common as Silverlight gains popularity.

For AVI, you can embed the Windows Media control. The user will have to
accept the download if they do not already have it installed and it will
state "do you trust this site", which Silverlight will not, as it is
installed by Microsoft.

For RM, you need a Real Media control. If it were me, I would avoid
viewing video on your site, as I am against the Real plugin. Years ago, I
felt differently, but Real invades the system too much these days,
including making it start on startup as soon as I play a video, even if I
told it no when I installed it. If they clean up their act, I might feel
different in the future.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*************************************************
| Think outside the box! |
*************************************************

Martin said:
Hi!

I am designing web pages with C#

I want to play video (for example .avi or .rm ) in my webpage.
How can I do this in C# web page?


( I noticed that in [C# Com ], there is a control called [Window Media]
which can play .avi, however in [C# web] there is no such control tools.)


Thanks!


Martin
 
Try this:
http://www.informit.com/articles/article.aspx?p=101752

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*************************************************
| Think outside the box! |
*************************************************

Martin said:
Thank you for your answering.

Please tell me how to embe the Window Media control ? ( I find everywhere
in C# web but cannot find this control. I can only find the Window Media
control in C# Com Window)

Martin




Cowboy (Gregory A. Beamer) said:
With web, you generally embed a web player as an object. The user then
has to have that web player installed to view the video in the page. This
is how

all of the sites do it.

One option is Silverlight, for which there are plenty of examples. This
requires downloading the Silverlight runtime from the client, but this is
becoming more and more common as Silverlight gains popularity.

For AVI, you can embed the Windows Media control. The user will have to
accept the download if they do not already have it installed and it will
state "do you trust this site", which Silverlight will not, as it is
installed by Microsoft.

For RM, you need a Real Media control. If it were me, I would avoid
viewing video on your site, as I am against the Real plugin. Years ago, I
felt differently, but Real invades the system too much these days,
including making it start on startup as soon as I play a video, even if I
told it no when I installed it. If they clean up their act, I might feel
different in the future.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*************************************************
| Think outside the box! |
*************************************************

Martin said:
Hi!

I am designing web pages with C#

I want to play video (for example .avi or .rm ) in my webpage.
How can I do this in C# web page?


( I noticed that in [C# Com ], there is a control called [Window Media]
which can play .avi, however in [C# web] there is no such control
tools.)


Thanks!


Martin
 
Back
Top