Page 2 of 2
Re: yahoo news video doesn't play on placeholder activation
Posted: Fri Jun 10, 2011 8:52 am
by Giorgio Maone
al_9x wrote:Ok in 4.0.1, but not working in 3.6.17, should it?
No it shouldn't, because the way the script proxying the calls is executed in the content context, in a synchronous sandbox but having access to both references provided by the calling chrome code (the original embed) and to the unwrapped content, is available on Gecko 2 and above only.
Re: yahoo news video doesn't play on placeholder activation
Posted: Tue Oct 11, 2011 9:19 am
by al_9x
this stopped working at some point, the problem is the proxy function returns undefined, which must have been acceptable when this was first tested
Code: Select all
"env.a.__noSuchMethod__ = env.o.__noSuchMethod__ = function(m, a) { env.n[m].apply(env.n, a) }"
I verified that the following resolves the problem.
Code: Select all
"env.a.__noSuchMethod__ = env.o.__noSuchMethod__ = function(m, a) { return env.n[m].apply(env.n, a) }"
Re: yahoo news video doesn't play on placeholder activation
Posted: Tue Oct 11, 2011 9:10 pm
by Giorgio Maone
Re: yahoo news video doesn't play on placeholder activation
Posted: Tue Oct 11, 2011 11:22 pm
by al_9x