Index: trunk/extensions/OggHandler/OggHandler.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | ini_get( 'include_path' ) ); |
19 | 19 | |
20 | 20 | // Bump this when updating OggPlayer.js to help update caches |
21 | | -$wgOggScriptVersion = '1'; |
| 21 | +$wgOggScriptVersion = '3'; |
22 | 22 | |
23 | 23 | $wgExtensionMessagesFiles['OggHandler'] = "$oggDir/OggHandler.i18n.php"; |
24 | 24 | $wgParserOutputHooks['OggHandler'] = array( 'OggHandler', 'outputHook' ); |
Index: trunk/extensions/OggHandler/OggPlayer.js |
— | — | @@ -499,12 +499,16 @@ |
500 | 500 | // Use QTSRC parameter instead of data attribute to allow progressive download |
501 | 501 | // The data attribute and src parameter point to a small file, as recommended in |
502 | 502 | // http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/chapter_1000_section_6.html |
503 | | - " data=" + this.hq( this.extPathUrl + '/null_file' ) + |
| 503 | + // (Actually that's supposed to be for streaming, you're not supposed to need |
| 504 | + // anything fancy for progressive download. But sometimes it doesn't start playing |
| 505 | + // properly if you don't use this trick. Also don't forget to use an empty .mov file |
| 506 | + // rather than an extensionless file, or Opera prompts you to download it.) |
| 507 | + " data=" + this.hq( this.extPathUrl + '/null_file.mov' ) + |
504 | 508 | ">" + |
505 | 509 | // Scale, don't clip |
506 | 510 | "<param name='SCALE' value='Aspect'/>" + |
507 | 511 | "<param name='AUTOPLAY' value='True'/>" + |
508 | | - "<param name='src' value=" + this.hq( this.extPathUrl + '/null_file' ) + "/>" + |
| 512 | + "<param name='src' value=" + this.hq( this.extPathUrl + '/null_file.mov' ) + "/>" + |
509 | 513 | "<param name='QTSRC' value=" + this.hq( params.videoUrl ) + "/>" + |
510 | 514 | "</object></div>"; |
511 | 515 | |
Index: trunk/extensions/OggHandler/null_file.mov |