i am working on this but
i post this somewhere but no one know how we can make this . its not so complicated.

let's see if some one resolve this.


i want to make a dynamic page, to embed multiple videos (dailymotion,youtube,etc) i want to make a page that when we put video id of the site it detects the video .
some where i read that i can do this with api , or swfobject.js

here is demo:

this site has a pre-embed player here :http://veedio.info/dailymotion.php

only what if we want to embed a video just change the id of the video in the end of the url

http://veedio.info/dailymotion.php?url=k3g6iiAEAuyt1N3TPDF


would you please give me the solution: