View Full Version : How to insert my videos into website
amandawu
08-11-2011, 02:06 AM
I have made a website that shows about my schoollife in these years. Now i want to insert a video clip taken by my classmate into my website, someone else could help me? My friend recommend me to use Photo DVD Maker to help me do this job. Does anyone use this program? Would it meet my needs?
antihero13
08-11-2011, 06:39 AM
You can probably accomplish this by doing a little bit of coding. Use the <embed> tag to point to the video file you want to play. Here is an example of how to use the <embed> tag:
<embed src="http://www.yoursite.com/videos/video1.mp4"/>
Just put that in the area in which you want the video to be positioned on your web page. Replace what's under the quotation marks with the link to your video.
alphaomega
08-23-2011, 06:32 AM
you can also upload video to another video hosting website such as youtube and get the embed code from them and add to your site...
This is by far the cheapest way, saves space and traffic on your host.
arunt
08-24-2012, 12:45 AM
Insert video in to your website using this code
<video width="310" height="200" controls="controls">
<source src="movies.mp4" type="video/mp4" />
</video>
jonbarnes
08-25-2012, 02:45 AM
You can use this codes to insert your videos into your website <iframe title="YouTube video player" class="youtube-player" type="text/html"
width="640" height="390" src="yourvideo url"
frameborder="0" allowFullScreen></iframe>
This is by far the cheapest way, saves space and traffic on your host.
By traffic, I'm assuming you mean bandwidth? For bandwidth issues (if you are managing hosting services or have a low cost, low bandwidth individual hosting plan) I've used Vimeo and love it. It's low cost, you don't have to know or have any specific code or coding experience - and the embedded player looks pro and works great. HD, regular vid formats etc.
The easiest way to put video on your site is to embed code from a video that you found on YouTube, Google Video or other video-sharing site.
If you had taken the time to read the opening post, you will know that the OP has a video, and is not looking for a video to display from the website. Why don't you describe how to utilize YouTube if one have a video to show the world? That would be more helpful.
weegillis
09-04-2012, 04:51 PM
Insert video in to your website using this code
<video width="310" height="200" controls="controls">
<source src="movies.mp4" type="video/mp4" />
</video>
The 'video' tag is HTML5. It may not work as expected with an HTML or XHTML doctype.
You can use this codes to insert your videos into your website <iframe title="YouTube video player" class="youtube-player" type="text/html"
width="640" height="390" src="yourvideo url"
frameborder="0" allowFullScreen></iframe>
'iframe' may be a working method, but it is not always enabled by users, and also depends on a doctype within the iframe (since it's an independent web page, in essence).
The HTML5 method is likely going to be the one that wins out in years to come, since it is so straightforward and does not require additional plug-in support. There are some gotcha's that need to be ironed out with this method, so don't just copy and paste the code (like above, copied from W3C). Read up on it:
http://diveintohtml5.info/video.html
Don't forget the fall backs! It's still too early in the game to disregard the other video embedding methods.
dworx
12-20-2012, 05:58 AM
upload your video on youtube and embed the youtube code of your video into your website. It saves web space and the chances of making video popular a much higher when you use youtube.
If u degines your websites in HTML 5 then u can use this code for embed the vedio in your sites .
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>