From ede654cbd8cd152c5bca45886981f4dbfca9860a Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 20 Jul 2013 18:12:45 -0400 Subject: [PATCH] youtube.js: better working in https environments --- js/youtube.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/youtube.js b/js/youtube.js index 745093dd..ec8c501a 100644 --- a/js/youtube.js +++ b/js/youtube.js @@ -15,7 +15,7 @@ * $config['embedding'] = array(); * $config['embedding'][0] = array( * '/^https?:\/\/(\w+\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9\-_]{10,11})(&.+)?$/i', -* '
' +* '
' ); * $config['additional_javascript'][] = 'js/jquery.min.js'; * $config['additional_javascript'][] = 'js/youtube.js'; @@ -27,7 +27,7 @@ onready(function(){ $('div.video-container a').click(function() { var videoID = $(this.parentNode).data('video'); - $(this.parentNode).html('