Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
[deleted comment]
[deleted comment]
So I uninstalled Safari 4 and reverted back to Safari 3, and the play/pause
buttons worked correctly. I then re-
installed Safari 4 and they didn't work again. So it is something with Safari
4 for me. Guess it's back to Safari 3
for now. As a note, I have Cooliris and Glims installed that are Safari
plugins. But they are there for Safari 3 and
4, so they probably aren't the problem.
Original comment by izd...@gmail.com
on 18 Apr 2009 at 7:30
Original comment by kirk.kel...@rochester.edu
on 18 Apr 2009 at 3:03
Just letting you know that installing OS 10.5.7 installs a new version of
Safari: 3.2.3, and play/pause does not
work with that build of Safari for. I also installed the updated version of
Safari 4 beta and no luck there. So at
least for me, play/pause doesn't work at all now unless I were to revert back
to the previous version of Safari 3.
Original comment by izd...@gmail.com
on 14 May 2009 at 3:29
Well, that's not good news but thanks for reporting it.
Just to be sure I've got all the right info:
did you actually try reverting to the old version of Safari?
which video players did you try this with?
Original comment by kirk.kel...@rochester.edu
on 14 May 2009 at 3:35
No, I didn't revert back to the old version of Safari. I just tried, and
apparently I can't. I guess that the older version of
Safari was not made compatible with 10.5.7
To sum it up, play/pause worked with OS 10.5.6 and Safari 3.2.1, but not with
Safari 4 beta.
Play/pause does not work on OS 10.5.7 and Safari 3.2.3. It also does not work
with Safari 4.
This is all from Netflix. It's the only thing I use understudy for.
(I did just try out YouTube with 10.5.7 and Safari 4, and play/pause does work
and so does forward/rewind)
Original comment by izd...@gmail.com
on 14 May 2009 at 6:59
anyone tried the new release of safari 4 see if it changes these issues?
Original comment by sth...@gmail.com
on 8 Jun 2009 at 9:51
[deleted comment]
Play/pause with netflix still doesn't work for me in the final safari 4 version
Original comment by izd...@gmail.com
on 8 Jun 2009 at 9:54
It worked for me with 10.5.7 and the latest version of Safari 3. However, It
stop
working after upgrading to Safari 4 final. I use it for netflix only.
Original comment by ammi....@gmail.com
on 10 Jun 2009 at 5:10
It appears this may also affect hulu.
Original comment by allen.ea...@gmail.com
on 18 Jun 2009 at 10:58
Using safari 4, mac mini (intel), and Understudy 0.7...
Netflix: no play/pause or ff/rewind
Hulu - work great in full screen
Original comment by dgoldenh...@gmail.com
on 19 Jun 2009 at 4:32
[deleted comment]
[deleted comment]
The issue is with the plugin controller calling sendEvent. In Safari 4 this
changed to sendEvent:isDrawRect. It
needs to be changed to support both... something like:
- (void)sendPluginKeyCode:(int)keyCode
withCharCode:(int)charCode
andModifiers:(int)modifiers
{
if( ![self plugin] )return;
EventRecord event;
event.what = keyDown;
event.message = (keyCode << 8) + charCode;
event.modifiers = modifiers;
if( [pluginView_ respondsToSelector:@selector(sendEvent:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&event];
}else if( [pluginView_ respondsToSelector:@selector(sendEvent:isDrawRect:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&event isDrawRect:NO];
}
event.what = keyUp;
if( [pluginView_ respondsToSelector:@selector(sendEvent:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&event];
}else if( [pluginView_ respondsToSelector:@selector(sendEvent:isDrawRect:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&event isDrawRect:NO];
}
}
Likewise, the mouse clicks would break:
- (void)sendPluginMouseClickAtPoint:(NSPoint)point
{
EventRecord record;
NSPoint orig = [pluginView_ frame].origin;
record.modifiers = btnState;
record.message = 0;
record.what = mouseDown;
record.when = TickCount();
record.where.h = orig.x + point.x;
record.where.v = orig.y + point.y;
if( [pluginView_ respondsToSelector:@selector(sendEvent:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&record];
}else if( [pluginView_ respondsToSelector:@selector(sendEvent:isDrawRect:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&record isDrawRect:NO];
}
record.what = mouseUp;
record.when = TickCount();
if( [pluginView_ respondsToSelector:@selector(sendEvent:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&record];
}else if( [pluginView_ respondsToSelector:@selector(sendEvent:isDrawRect:)] ){
[(id)pluginView_ sendEvent:(NSEvent *)&record isDrawRect:NO];
}
}
Original comment by jeffraf...@gmail.com
on 9 Dec 2009 at 7:27
Attachments:
Original comment by kirk.kel...@rochester.edu
on 11 Jan 2010 at 2:13
this should be fixed in version 0.8
Original comment by kirk.kel...@rochester.edu
on 20 Jan 2010 at 12:48
It is almost fixed in version 0.8. Now, it requires two clicks to pause. First
one bring up control panel and second
click really pause the movie.
OS X 10.6.2 & Safari 4.0.4
Original comment by ammi....@gmail.com
on 20 Jan 2010 at 1:15
Original issue reported on code.google.com by
izd...@gmail.com
on 17 Apr 2009 at 9:58