Solved

embeding video files on a webpage

Posted on 2011-09-11
7
215 Views
Last Modified: 2012-05-12
Hi,
I am building a web site in ASP.Net(C#).
I have several pages on my site where the user has to click on an image of a  vidoe file (.flv) and after pressing the play button, should be able to play the video.
I want to embeed those .flv files in the webpage and also want to give user an option to download that video file.
I am not too sure how to do it. Following code is not working for me.

  <object width="640" height="480">
             <param name="movie" value="Images/Video-demo1.1.flv" />
             <embed src="Images/Video-demo1.1.flv" width="640" height="480" /></embed>
  </object>

Could someone please help.

Another question is:
Is there an effective way of including videos on the website witout slowing down the website . I have atleast 20 videos (demo videos for diferent products)

Any suggestions please?
0
Comment
Question by:Tina_Bhole
  • 3
  • 2
  • 2
7 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 500 total points
ID: 36520474
solve you issue like this

http://forums.asp.net/t/1119415.aspx/1
scroll down to bottom

As far as the 2nd issue

as long as you are
1. linking to the videos from inside your application files as opposed to linking videos from other sites
and
2. not embedding them to autoplay on start up it should not cause load issues


0
 

Author Comment

by:Tina_Bhole
ID: 36520605
Thanks plusone3055.
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 36520608
no problem
please award points :)

0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 12

Expert Comment

by:starlite551
ID: 36520660
Here is a better example :
try this link :
Best Way To Embed Videos in ASP.NET Pages
0
 
LVL 12

Expert Comment

by:starlite551
ID: 36520664
0
 

Author Comment

by:Tina_Bhole
ID: 36526644
Hello Starlite551,
Thanks for your response.
Sorry I did not understand that example which you have posted. Will you be please able to simplify it a bit?
Is it not possible to embeed it using an object parameter as I have shown in my question? What exactly I am missing in my object?
0
 

Author Closing Comment

by:Tina_Bhole
ID: 36748107
This was an answer to my sencond question. The main question is still pending.
I would like to close this now.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question