aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-25 14:59:31 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-25 14:59:31 +0200
commitafce790e56ba7cd4c5c049e7c3a9aac20846981e (patch)
tree648414c3420009049bdd2f5ebc22777a57adc199 /view
parentae12074337c6f5465c8abab8b3205daeb8797a0b (diff)
downloadvolse-hubzilla-afce790e56ba7cd4c5c049e7c3a9aac20846981e.tar.gz
volse-hubzilla-afce790e56ba7cd4c5c049e7c3a9aac20846981e.tar.bz2
volse-hubzilla-afce790e56ba7cd4c5c049e7c3a9aac20846981e.zip
oembed: wrap in iframe only html from remote service
Diffstat (limited to 'view')
-rw-r--r--view/oembed_video.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/oembed_video.tpl b/view/oembed_video.tpl
index 29b5149ba..5824d8d4e 100644
--- a/view/oembed_video.tpl
+++ b/view/oembed_video.tpl
@@ -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>