[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [170] Fixes YouTube.
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [170] Fixes YouTube. |
Date: |
Sat, 30 Jul 2011 09:34:05 +0000 |
Revision: 170
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=170
Author: valkov
Date: 2011-07-30 09:34:04 +0000 (Sat, 30 Jul 2011)
Log Message:
-----------
Fixes YouTube. It seems there are changes in YouTube and the site does not use
swfConfig everywhere. The script with yt.setConfig variable holds the data we
need.
Modified Paths:
--------------
trunk/src/lm_site_youtube.js
Modified: trunk/src/lm_site_youtube.js
===================================================================
--- trunk/src/lm_site_youtube.js 2011-07-29 08:03:57 UTC (rev 169)
+++ trunk/src/lm_site_youtube.js 2011-07-30 09:34:04 UTC (rev 170)
@@ -245,7 +245,8 @@
function()
{
var data = this.script_data;
- if (!data.match(/var\s*swfConfig/))
+ if (!data.match(/var\s*swfConfig/) &&
+ !data.match(/yt\.setConfig/))
{
return null;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [170] Fixes YouTube.,
Ivaylo Valkov <=