summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAppe <appe22@hotmail.com>2012-11-08 23:58:05 +0200
committerAppe <appe22@hotmail.com>2012-11-08 23:58:05 +0200
commit6dd452e10cd4b909c3932c6a52bc9a53e5668183 (patch)
tree5642f33e9a173b9f72b4a3542f8d3b290f74c1a6 /inc
parent23f0df36bd75100864ca696c6875d9f82a8300d0 (diff)
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',