Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

embeding video files on a webpage

Posted on 2011-09-11
7
Medium Priority
?
223 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 1500 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

886 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