Play video in C# web ?

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
 
C

Cowboy \(Gregory A. Beamer\)

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.
 
M

Martin

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.



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
 
C

Cowboy \(Gregory A. Beamer\)

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



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.



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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top