Project Description:
Hello, I need php function (let's call it "getembedcode") that accepts an escaped video/image URL and a width-max value as arguments and returns the respective video / image embed html using the Embed.ly API. I want to add the code to the functions.php file on my Wordpress installation. It should look something like this: $embedcode = getembedcode($escaped_url, 590); (where "590" is the maximum width argument).
Thanks.