View Full Version : Embedding myspace videos on my website


Rafael Lopes
April 2nd, 2007, 01:56 AM
Hi,

My web design knowledge is limited but even so I decided to totally remodel my website (I'm doing everything on dreamweaver and photoshop). So far everything went very smoothly except the video part. I want people to be able to click on each of the video titles and then a new page should open with the video playing on the middle of it. I uploaded most of my videos to myspace so what I have to do is learn how to embed them on my website's code. I'm sure there's tons of web designers here that could give me a hand. Here is the code I have from the page where the video is supposed to show up (the only image on this page so far is a "go back" arrow that should be centered right bellow the video):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<div align="center">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img src="arrow.jpg" width="100" height="100" />
</p>
</div>
</body>
</html>



Here's the the code from one of the videos I want to insert (it's the video code, not the url code, right?):

<a href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=1979055597">Contos Portugueses TV show credits directed by Rafael Lopes</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=1979055597&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://vids.myspace.com/index.cfm?fuseaction=vids.addToProfileConfirm&videoid=1979055597&title=Contos Portugueses TV show credits directed by Rafael Lopes">Add to My Profile</a> | <a href="http://vids.myspace.com/index.cfm?fuseaction=vids.home"> More Videos</a>

Rafael Lopes
April 2nd, 2007, 07:18 AM
Never mind. Just found out for my self.