Post Reply 
Liveleak Videos Not Playing
Jul. 24, 2008, 05:32 PM
Post: #1
Liveleak Videos Not Playing
Greetings friends.

Just wondering if any of you have experienced any problems playing Liveleak.com videos while using Sidki's 2008-01-12 configuration? They won't play for me unless I allow code by adding this to IncludeExclude ([^/]++.|)liveleak.com/ $SET(0=a_flash.a_code.) or bypass all webfilters entirely $SET(0=a_flash.a_web.). I think I found the problem, but don't know how to fix it. I've narrowed it down to this Proxomitron Webpage filter -- Top HTML Mark: Start 7.10.24 (multi) [sd] (d.r) -- if I uncheck that filter then Liveleak videos play fine.

Here's a video for testing:
http://www.liveleak.com/view?i=1a3_1188327340

Thanks for any help on this matter.

Best regards,
apacallyps
Quote this message in a reply
Jul. 25, 2008, 01:27 AM
Post: #2
RE: Liveleak Videos Not Playing
The root of the problem is that proxo is filtering the playlist.
The content-type for the playlist is text/html, but it's not.

Best solution is probably to disable web filtering for the playlist:
([^/]++.|)liveleak.com/playlist.php $SET(0=a_web.)

You only need to disable the toggle:flash filter if you want the video to play on load.
([^/]++.|)liveleak.com/(^playlist.php) $SET(0=a_flash.)

Tested with sidki_2008-01-02.ptron

HTH
z12
Add Thank You Quote this message in a reply
Jul. 25, 2008, 04:19 PM
Post: #3
RE: Liveleak Videos Not Playing
Hey, thanks alot z12. Your fix worked!

I've added both these entries

([^/]++.|)liveleak.com/(^playlist.php) $SET(0=a_flash.)
([^/]++.|)liveleak.com/(playlist.php) $SET(0=a_web.)

Videos work fine now. I'm just going to respond to a couple of your comments below.

z12 Wrote:The root of the problem is that proxo is filtering the playlist.
The content-type for the playlist is text/html, but it's not.

Is this is a broken proxo filter or is it a problem on Liveleak's side of things? This videos not playing problem started happening a couple weeks ago.

z12 Wrote:Best solution is probably to disable web filtering for the playlist:
([^/]++.|)liveleak.com/playlist.php $SET(0=a_web.)

You only need to disable the toggle:flash filter if you want the video to play on load. ([^/]++.|)liveleak.com/(^playlist.php) $SET(0=a_flash.)

Tested with sidki_2008-01-02.ptron

Thanks again for this tip.
Quote this message in a reply
Jul. 26, 2008, 12:58 AM
Post: #4
RE: Liveleak Videos Not Playing
apacallyps Wrote:Is this is a broken proxo filter or is it a problem on Liveleak's side of things?

Most likely, the playlist content-type header changed and/or the code changed.

I wouldn't call it a "broken" filter.
The "Top Sniff: HTML Content: HTML" filter most likely matched on the meta tag in the playlist.
I don't recall seeing a meta tag in a reply that wasn't html.

FWIW, my config also matched on the meta tag and injected code with the same result (no video).
I'm going to try a couple of tweaks to my filter regarding the meta tag match.
However, I'm not sure if that will make the situation better or worse.

In the end, trying to figure out if a reply is actually a html document can be a challange.
Until all web pages follow the standards, problems like this will crop up every now and then.

z12
Add Thank You Quote this message in a reply
Jul. 26, 2008, 02:26 AM
Post: #5
RE: Liveleak Videos Not Playing
z12 Wrote:FWIW, my config also matched on the meta tag and injected code with the same result (no video). I'm going to try a couple of tweaks to my filter regarding the meta tag match. However, I'm not sure if that will make the situation better or worse. In the end, trying to figure out if a reply is actually a html document can be a challange. Until all web pages follow the standards, problems like this will crop up every now and then. z12

Thanks again for the fix z12. I have three words for you. Fab-u-lous! I'm so glad those Liveleak videos work again. Your insight is/was very much appreciated.

Best regards,
apacallyps
Quote this message in a reply
Dec. 25, 2008, 03:47 PM
Post: #6
RE: Liveleak Videos Not Playing
(Jul. 26, 2008 12:58 AM)z12 Wrote:  The "Top Sniff: HTML Content: HTML" filter most likely matched on the meta tag in the playlist.
I don't recall seeing a meta tag in a reply that wasn't html.

Me neither, but it's listed in the playlist RFC...
http://xspf.org/xspf-v1.html#rfc.section...4.1.1.1.12
...so i'll try testing for the meta "content" attribute which is supposed to be always present in HTML.

Code:
[Patterns]
Name = "Top Sniff: HTML Content: HTML     8.12.25 (multi) [sd] (d.1)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)(^$TST(keyword=*.a_code.*))"
Limit = 32766
Match = "øøþ$STOP()()+{0,1} ([^<]+{0,3}[^<"']+{0,13} <)\1$TST(mHtml=\0)("
        ""
        "("
        "!doctype html|applet|body|embed\s|frameset|h(tml|ead)(\s|>)"
        "|m(arquee|eta(^[^>]++http-equiv="+ refresh))|object|s(cript|tyle)|title"
        ")\2($TST(\0=0)$SET(mHtml=true)|$SET(mHtml=include))"
        ""
        "|$TST(\0=0)("
        "(([^>]+>)++{0,2}[^>]++\s(class|id)=)\2"
        "&(^*<(!doctype html|body|frameset|h(tml|ead)|meta|(object|script)(^$TST(\1=??*)))(^[a-z]))"
        "$SET(mHtml=include)"
        "|$SET(mHtml=true)"
        ")"
        ""
        "|(^(^*<("
        "!doctype html|applet|body|embed|frameset|h(tml|ead)|m(arquee|eta[^>]++content)|object|s(cript|tyle)"
        ")(^[a-z])))($TST(\0=0)$SET(mHtml=true)|$SET(mHtml=include))"
        ""
        "|([b-il-o!]|a(rea|\s)|p(re|>|\s)|s(pan|trong)|t(able|extarea))\2$SET(mHtml=include)"
        "|$SET(mHtml=false)"
        ""
        ")$SET(0="
        "$TST(mHtml=include)$TST(preBlock=(^prx-)\3)\3$SET(preBlock=prx-stop1)"
        "$TST(volat=*.log:2*)$ADDLST(Log-Main,[$DTM(d T)]\tWeb Include Reinsert\t\u)"
        ")"
Replace = "øøþ\0\1\2"
Add Thank You Quote this message in a reply
Dec. 26, 2008, 09:58 AM
Post: #7
RE: Liveleak Videos Not Playing
I didn't even know there was a playlist rfc.

sidki3003 Wrote:...so i'll try testing for the meta "content" attribute which is supposed to be always present in HTML.

But according to this:
http://xspf.org/xspf-v1.html#rfc.section...1.1.1.12.2

It looks to me like a "content" attribute is also allowed for the playlist meta tag.
So couldn't that still be a potential problem?

z12
Add Thank You Quote this message in a reply
Dec. 26, 2008, 12:24 PM
Post: #8
RE: Liveleak Videos Not Playing
Well, d'oh, yes! Do you have an idea? Else i'll leave it like above and see, if it still breaks things.
Add Thank You Quote this message in a reply
Dec. 26, 2008, 04:30 PM
Post: #9
RE: Liveleak Videos Not Playing
I considered dropping the meta match altogether.
But that seemed a bit too extreme.

I've since limited the meta match to include "http-equiv" attribute.
I haven't noticed any ill effects so far (about 5 months).
But my config has a user base of one. Smile!

Seems like no matter how you slice it, there's some risk.

z12
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: