Last modified: 2008-03-18 20:03:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13249, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11249 - OggHandler Safari support
OggHandler Safari support
Product: MediaWiki extensions
Classification: Unclassified
OggHandler (Other open bugs)
Macintosh All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
Depends on:
  Show dependency treegraph
Reported: 2007-09-09 07:26 UTC by Gregory Maxwell
Modified: 2008-03-18 20:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Gregory Maxwell 2007-09-09 07:26:23 UTC
We're currently sending a "<object type='application/ogg'" style tag for QT mode and it doesn't work for Mac users. However, "<embed type='application/ogg'" works. is a working example.

It also aparently works with the object tag but only if src is set to the actual file, as in

I'd submit a patch but I can't test QT windows easily and I'm not sure what will also work with QT on windows.
Comment 1 Gregory Maxwell 2007-09-09 07:32:36 UTC
Some more detail, I'm specifically concerned with Safari. It should be possible to reproduce this issue with Safari on Windows.
Comment 2 Tim Starling 2007-09-09 23:12:51 UTC
XiphQT is the only plugin that *is* working for me on Safari Windows. Java and VLC both seem to be broken. 
Comment 3 Brion Vibber 2007-09-10 00:15:43 UTC
QuickTime with XiphQT is working fine for me with Safari 2.0.4 on Mac OS X 10.4.10 (Intel), latest QuickTime.

Can confirm that Java seems to be broken here too.
Comment 4 Brion Vibber 2007-09-10 00:25:44 UTC
JavaScript debug console says:

Unsafe JavaScript attempt to access frame with URL http://smorgasbord.local/pix/index.php?title=Image:Apollo_15_CSM_moving_away_from_LM.ogg from frame with URL about:blank. Domains must match.
Comment 5 Brion Vibber 2007-09-10 00:50:11 UTC
(That's for Java -- QuickTime is working fine and gives no error messages.)
Comment 6 Tim Starling 2007-09-10 02:36:28 UTC
Changed bug title to indicate general Safari support instead of XiphQT. 
Comment 7 Tim Starling 2007-09-10 02:49:02 UTC
I don't get anything in the JavaScript console for the Java player, and it still doesn't work for me if I disable the iframe (line 517 of OggPlayer.js r25710). 
Comment 8 Brion Vibber 2007-09-10 15:47:17 UTC
Java player on Mac OS X w/ Safari 2.0.4 works for me if I disable the iframe...

On Windows, it works if I install Java, but there's a detection problem when Java is not present.

Like Mozilla, navigator.javaEnabled() returns true when 'Enable Java' is checked in preferences, which is a) true by default and b) not disabled when there's no Java.

Unlike Mozilla, Apple seems to actually ship some kind of Java plugin which shows up in the plugins array _even if there's no Java on the system_:

Apple Java Plug-In — from file “npJavaPlugin.dll”.
MIME Type	Description	Extensions
application/x-java-applet	Java Applet

Nice. :P

So we're detecting the preference (on by default) and the plugin (present by default), and then we get a little box with an unknown-plugin icon in it.

On Mac OS X, Java will always be present as it ships with the OS.
Comment 9 Tim Starling 2007-09-28 12:11:36 UTC
The iframe is disabled now for Safari, so that part of the bug report is fixed.
Comment 10 Brion Vibber 2008-03-18 20:03:48 UTC
Both Java and QuickTime modes currently work in Safari. Resolving this as FIXED; opening separate reports for current issues.

Note You need to log in before you can comment on or make changes to this bug.