Jake Wright
tech guru
Back to top
Email to a friend Share on Facebook Share on FriendFeed Share on Twitter
Donate with PayPal

How to Add Music and Video to a Webpage

I was asked to make a video explaining how to add music and video to webpages. I thought the easiest way to explain would be to use examples and explanations already written and available on the internet. In my opinion, the easiest way to add video to a webpage, is to upload the video to YouTube and then use the embed code to add it to the page. This could be a blog, MySpace or other social networking page or website.

Adding audio is a little different, that’s if you do it by using the ‘embed’ tag in HTML. Basically, you type the following line (in the HTML code of the webpage, or in a place where HTML is accepted):

<embed src=”horse.wav” />

Obviously you will want to replace “horse.wav” with the path and filename of the audio file you want to play, making sure to include the correct file extension. The path/url to the file can be a standard URL (for example, http://jak-e.com/audio/example.wav) or a relative URL which is what is used in the example above. I’m not going to go into any great detail here as this is all explained more clearly on the w3schools website: http://www.w3schools.com/tags/html5_embed.asp

  • Print
  • PDF
  • email
  • FriendFeed
  • Twitter
  • Ping.fm
  • Tumblr
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • StumbleUpon

Tags: , , , , , , , , , ,

blog comments powered by Disqus
RSS Feed Subscribe by Email Comments RSS Feed
close

subscribe by email

close