want to display video in my website

Posted by Saritha.rajeshkumar under C# on 6/7/2011 | Points: 10 | Views : 4897 | Status : [Member] | Replies : 6
hi iam saritha

i want to put video in my website.




Responses

Posted by: Umeshdwivedi on: 6/7/2011 [Member] Starter | Points: 25

Up
0
Down
The fast and easy ways to play video on web page
Internet Explorer has interesting dynsrc parameter for the <img> tag. The code can look like this
<img dynsrc="MyVideo.avi" />

This will show video only by using simple image HTML tag. But, it is not compatible with every web browser. In fact, it works only with Internet Explorer, but it can be satisfactory solution in some scenarios.
<embed src="MyVideo.avi" />

Instead of using of <embed> tag, W3C recommends <object> tag. Here is the code to display WMV video file with <object> HTML tag:


<object height="320px" width="240px" type ="video/x-ms-wmv">

<param name="src" value="http://localhost/MyMovie.wmv" />
</object>

Display video with Media Player active X control in Internet Explorer
<OBJECT width="312px" height="248px" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>

<PARAM name="autoStart" value="False">
<PARAM name="URL" value="./Movie/Pljacka.wmv">
<PARAM name="enabled" value="True">
<PARAM name="balance" value="0">
<PARAM name="currentPosition" value="0">
<PARAM name="enableContextMenu" value="True">
<PARAM name="fullScreen" value="False">
<PARAM name="mute" value="False">
<PARAM name="playCount" value="1">
<PARAM name="rate" value="1">
<PARAM name="stretchToFit" value="False">
<PARAM name="uiMode" value="full">


</OBJECT>



Latest Technology Trainer
And Part time software consultant

Saritha.rajeshkumar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 6/7/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

refer this links,

http://www.asp.net/webmatrix/tutorials/10-working-with-video
http://steveorr.net/articles/StreamingMedia.aspx


Regards,
Susan

Saritha.rajeshkumar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gsolvers on: 6/7/2011 [Member] Starter | Points: 25

Up
0
Down
Sarita, Are you able to get answer to your concern? If yes please accept the answer. It looks like all the above answers have solution for you.

Best Regards,

VG
www.TeacherJi.com

Saritha.rajeshkumar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 6/7/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

2 things you can do actually. If you want to maintain a seperate repository for your videos then you can use a control to stream the videos by uploading them using the below url.

http://msdn.microsoft.com/en-us/library/ms738748.aspx

http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx

If you want to have a better load, you can upload videos to youtube and have a link streaming in your website which reduces your cost.

Thanks
Karthik
www.f5Debug.net

Saritha.rajeshkumar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lolo on: 7/1/2011 [Member] Starter | Points: 25

Up
0
Down
just use this prog http://www.visifly.com/VisiFly/

Saritha.rajeshkumar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 7/1/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Simply use HTML5

Regards,
Susan

Saritha.rajeshkumar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response