Send parameter to another page
you can your page with a GET variable appended in the url, something like 

www.mysite.com/node/1?videoId=123


then inside your template you use a GET variable like this

$videoId = $_GET['VideoId'];


then you could do this

&lt;object bla bla ... idmedia=" $videoId "&gt;&lt;/object&gt;.