1
0
Fork 0

oembed: wrap in iframe only html from remote service

This commit is contained in:
Fabio Comuni 2011-10-25 14:59:31 +02:00
commit afce790e56
4 changed files with 150 additions and 8 deletions

View file

@ -1,4 +1,4 @@
<a href='$embedurl' onclick='this.innerHTML=unescape("$escapedhtml").replace(/\+/g," "); return false;' style='float:left; margin: 1em; position: relative;'>
<a href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); return false;' style='float:left; margin: 1em; position: relative;'>
<img width='$tw' height='$th' src='$turl' >
<div style='position: absolute; top: 0px; left: 0px; width: $twpx; height: $thpx; background: url(images/icons/48/play.png) no-repeat center center;'></div>
</a>