summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael <savetheinternet@tinyboard.org>2012-12-01 06:40:21 -0800
committerMichael <savetheinternet@tinyboard.org>2012-12-01 06:40:21 -0800
commitdf667896cddfedaa4bf228fbb321bb1195cd9345 (patch)
treefac804a84d02e994159ce358c774b6d1da359171 /inc
parent04eb346fa731497ba5c9ac3a4415db6caab7c990 (diff)
parent6dd452e10cd4b909c3932c6a52bc9a53e5668183 (diff)
Merge pull request #81 from Appe/patch-1
Updated Youtube embed code.
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 3b449b5e..f4951a40 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -604,7 +604,7 @@
$config['embedding'] = array(
array(
'/^https?:\/\/(\w+\.)?youtube\.com\/watch\?v=([a-zA-Z0-9\-_]{10,11})(&.+)?$/i',
- '<object style="float: left;margin: 10px 20px;" width="%%tb_width%%" height="%%tb_height%%"><param name="movie" value="http://www.youtube.com/v/$2?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/$2?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" width="%%tb_width%%" height="%%tb_height%%" allowscriptaccess="always" allowfullscreen="true"></embed></object>'
+ '<iframe style="float: left;margin: 10px 20px;" width="%%tb_width%%" height="%%tb_height%%" frameborder="0" id="ytplayer" type="text/html" src="http://www.youtube.com/embed/$2"></iframe>'
),
array(
'/^https?:\/\/(\w+\.)?vimeo\.com\/(\d{2,10})(\?.+)?$/i',