So I am able to retrieve video embeds like this:
iframe style='overflow: hidden; border: 0; width: 720px; height: 506px' src='http://stagevu.com/embed?
width=720&height=450&background=000&uid=ymuqokfxatwt' scrolling='no'></iframe>
when a user types in a simple url link of the video in a form as such as: http://stagevu.com/video/ipfmdyadiqgt, using the following code:
// code to display StageVu
if (preg_match("/http:\/\/stagevu.com\/video\/([a-z]*)/i", $url, $matches)) {
return '<iframe style="overflow: hidden; border: 0; width: 700px; height: 400px"
src="http://stagevu.com/embed?width=700&height=400&background=000& amp;uid='
.$matches[1]. '" scrolling="no">'.
'</iframe>';
}
I am wondering for a link like this: https://soundcloud.com/darkelixir/teknian-behemoth-darkelixir
with a crazy embed like this:
iframe width="100%" height="166" scrolling="no" frameborder="no"
src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F80432122">
</iframe>
how can I allow embedding via url when there is no easy to use ID system?