Well, either way for each website you'd need a new method to scrape or put the video ID in.
The less complicated way is to just have your script recognize the URL they've input and then insert that into the code samples from each site.
Otherwise even if you did try to cURL the embed code it's a) gonna be a heavier script than needed and b) will have to be handled differently for each site anyway.
|