r69394 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69393‎ | r69394 | r69395 >
Date:17:20, 15 July 2010
Author:dale
Status:deferred
Tags:
Comment:
only display non zero parts of human readable time
updated kaltura binary flash player
clean up mw.log calls in EmbedPlayer
bumped mediaWiki version
Modified paths:
  • /branches/MwEmbedStandAlone/loader.js (modified) (history)
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/EmbedPlayer.i18n.php (modified) (history)
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/binPlayers/kaltura-player/LightDoodleskin.swf (added) (history)
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/binPlayers/kaltura-player/kdp3.swf (modified) (history)
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/loader.js (modified) (history)
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/mw.EmbedPlayer.js (modified) (history)
  • /branches/MwEmbedStandAlone/modules/SwarmTransport/mw.SwarmTransport.js (modified) (history)
  • /branches/MwEmbedStandAlone/mwEmbed.js (modified) (history)
  • /branches/MwEmbedStandAlone/remotes/mediaWiki.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/loader.js
@@ -46,15 +46,15 @@
4747 * is transcluded into base mwEmbed class include.
4848 */
4949 var mwEnabledModuleList = [
 50+ 'AddMedia',
 51+ 'ClipEdit',
5052 'EmbedPlayer',
 53+ 'ApiProxy',
 54+ 'SequenceEdit',
5155 'TimedText',
5256 'SmilPlayer',
53 - 'MediaRss',
54 - 'SwarmTransport',
55 - 'AddMedia',
56 - 'ClipEdit',
57 - 'SequenceEdit',
58 - 'ApiProxy'
 57+ 'Playlist',
 58+ 'SwarmTransport'
5959 ];
6060
6161 /**
Index: branches/MwEmbedStandAlone/mwEmbed.js
@@ -1532,12 +1532,18 @@
15331533 } else {
15341534 tm.seconds = Math.round( tm.seconds );
15351535 }
1536 - if ( tm.seconds < 10 )
 1536+ if ( tm.seconds < 10 ){
15371537 tm.seconds = '0' + tm.seconds;
1538 - if ( tm.minutes < 10 )
1539 - tm.minutes = '0' + tm.minutes;
1540 -
1541 - return tm.hours + ":" + tm.minutes + ":" + tm.seconds;
 1538+ }
 1539+ if( tm.hours == 0 ){
 1540+ hoursStr = ''
 1541+ } else {
 1542+ if ( tm.minutes < 10 )
 1543+ tm.minutes = '0' + tm.minutes;
 1544+
 1545+ hoursStr = tm.hours + ":";
 1546+ }
 1547+ return hoursStr + tm.minutes + ":" + tm.seconds;
15421548 }
15431549
15441550 /**
@@ -2175,7 +2181,7 @@
21762182 * callback Function called once all triggers have been run
21772183 *
21782184 */
2179 - mw.runTriggersCallback = function( targetObject, triggerName, callback ){
 2185+ mw.runTriggersCallback = function( targetObject, triggerName, callback ){
21802186 mw.log( ' runTriggersCallback:: ' + triggerName );
21812187 // If events are not present directly run callback
21822188 if( ! $j( targetObject ).data( 'events' ) ||
@@ -2196,7 +2202,7 @@
21972203
21982204 mw.log(" runTriggersCallback:: " + callbackCount );
21992205 var callInx = 0;
2200 - $j( targetObject ).trigger( 'checkPlayerSourcesEvent', function() {
 2206+ $j( targetObject ).trigger( triggerName, function() {
22012207 callInx++;
22022208 if( callInx == callbackCount ){
22032209 // Run callback
Index: branches/MwEmbedStandAlone/modules/SwarmTransport/mw.SwarmTransport.js
@@ -76,7 +76,8 @@
7777 'url' : mw.absoluteUrl( source.getSrc() )
7878 }
7979
80 - mw.log( 'SwarmTransport:: lookup torrent url: ' + mw.getConfig( 'SwarmTransport.torrentLookupUrl' ) );
 80+ mw.log( 'SwarmTransport:: lookup torrent url: ' + mw.getConfig( 'SwarmTransport.torrentLookupUrl' )
 81+ + "\n" + mw.absoluteUrl( source.getSrc() ));
8182 // Setup function to run in context based on callback result
8283 $j.getJSON(
8384 mw.getConfig( 'SwarmTransport.torrentLookupUrl' ) + '?jsonp=?',
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/loader.js
@@ -90,18 +90,11 @@
9191
9292 /**
9393 * Check the current DOM for any tags in "EmbedPlayer.RewriteTags"
94 - *
95 - * NOTE: this function can be part of setup can run prior to jQuery being ready
9694 */
9795 mw.documentHasPlayerTags = function() {
9896 var rewriteTags = mw.getConfig( 'EmbedPlayer.RewriteTags' );
99 - if( rewriteTags ) {
100 - var jtags = rewriteTags.split( ',' );
101 - for ( var i = 0; i < jtags.length; i++ ) {
102 - if( document.getElementsByTagName( jtags[i] )[0] ) {
103 - return true;
104 - }
105 - }
 97+ if( $j( rewriteTags ).length != 0 ) {
 98+ return true;
10699 }
107100
108101 var tagCheckObject = { 'hasTags' : false };
@@ -244,9 +237,7 @@
245238 dependencyRequest.push( 'mw.style.PlayerSkin' + pSkin );
246239 }
247240
248 - // Allow extension to extend the request.
249 - //mw.log( 'LoaderEmbedPlayerUpdateRequest' );
250 -
 241+ // Allow extension to extend the request.
251242 $j( mw ).trigger( 'LoaderEmbedPlayerUpdateRequest',
252243 [ playerElement, dependencyRequest ] );
253244
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/mw.EmbedPlayer.js
@@ -33,7 +33,7 @@
3434 "mwe-embedplayer-download_full" : "Download full video file:",
3535 "mwe-embedplayer-download_right_click" : "To download, right click and select <i>Save link as...<\/i>",
3636 "mwe-embedplayer-download_clip" : "Download video",
37 - "mwe-embedplayer-download_text" : "Download text",
 37+ "mwe-embedplayer-download_text" : "Download timed text",
3838 "mwe-embedplayer-download" : "Download",
3939 "mwe-embedplayer-share" : "Share",
4040 "mwe-embedplayer-credits" : "Credits",
@@ -56,7 +56,7 @@
5757 "mwe-embedplayer-ogg-player-kplayer" : "Kaltura player",
5858 "mwe-embedplayer-ogg-player-selected" : "(selected)",
5959 "mwe-embedplayer-generic_missing_plugin" : "You browser does not appear to support the following playback type: <b>$1<\/b><br \/>Visit the <a href=\"http:\/\/commons.wikimedia.org\/wiki\/Commons:Media_help\">Playback methods<\/a> page to download a player.<br \/>",
60 - "mwe-embedplayer-missing-source" : "No source video was found. Check that your embed code includes a valid source or API key",
 60+ "mwe-embedplayer-missing-source" : "No source video was found. Check that your API key includes html5 playable sources",
6161 "mwe-embedplayer-for_best_experience" : "For a better video playback experience we recommend the <b><a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/upgrade.html?from=mwEmbed\">latest Firefox<\/a>.<\/b>",
6262 "mwe-embedplayer-do_not_warn_again" : "Dismiss for now.",
6363 "mwe-embedplayer-playerSelect" : "Players",
@@ -259,22 +259,60 @@
260260 *
261261 * Rewrites all tags via a given selector
262262 *
263 - * @param {Object} attributes [ Optional ] The embedPlayer options for the given video interface.
264 - * Attributes Object can inclued any key value pair that would otherwise be
 263+ * @param {object=} attributes Optional embedPlayer attributes for the given video interface.
 264+ * Attributes Object can include any key value pair that would otherwise be
265265 * an attribute in the html element.
266266 *
267267 * also see: mw.getConfig( 'embedPlayerAttributes' )
268268 *
269 - * @param {Function} callback [ Optional ] Function to be called once video interfaces are ready
 269+ * @param {Function=} callback Optional Function to be called once video interfaces are ready
270270 *
271271 */
272272 $.fn.embedPlayer = function( attributes, callback ) {
273 - var playerSelect = this.selector;
 273+ var playerSelect = this.selector;
 274+
 275+ // Define attributes if unset
 276+ if( !attributes ) {
 277+ attributes = {};
 278+ }
 279+
274280 // Handle optional include of attributes argument:
275281 if( typeof attributes == 'function' ){
276 - callback = attributes;
 282+ callback = attributes;
 283+ attributes = {};
277284 }
278285
 286+
 287+ // If we are dynamically embedding on a "div" check if we can
 288+ // add a poster image behind the loader:
 289+ $j( playerSelect ).each( function( index, playerElement) {
 290+ if( playerElement.nodeName.toLowerCase() == 'div'
 291+ && ( attributes.poster || $j(playerElement).attr( 'poster' ) ) ){
 292+ var posterSrc = ( attributes.poster ) ? attributes.poster : $j(playerElement).attr( 'poster' );
 293+
 294+ // Set image size:
 295+ var width = $j( playerElement ).width();
 296+ var height = $j( playerElement ).height();
 297+ if( !width ){
 298+ var width = ( attributes.width )? attributes.width : '100%';
 299+ }
 300+ if( !height ){
 301+ var height = ( attributes.height )? attributes.height : '100%';
 302+ }
 303+
 304+ mw.log('EmbedPlayer:: set loading background img' + posterSrc);
 305+ $j( playerElement ).append(
 306+ $j( '<img />' )
 307+ .attr( 'src', posterSrc)
 308+ .css({
 309+ 'position' : 'absolute',
 310+ 'width' : width,
 311+ 'height' : height
 312+ })
 313+ )
 314+ }
 315+ });
 316+
279317 // If we have not detected browser plugin embed types do that now
280318 if( ! mw.EmbedTypes.players ){
281319 mw.EmbedTypes.init();
@@ -282,10 +320,10 @@
283321
284322 // Create the Global Embed Player Manager ( if not already created )
285323 if( ! mw.playerManager ) {
286 - mw.log( "Create the player manager:" );
 324+ mw.log( "EmbedPlayer::Create the player manager:" );
287325 mw.playerManager = new EmbedPlayerManager();
288326 // Run the global hooks that mw.playerManager is ready
289 - mw.log( 'trigger: EmbedPlayerManagerReady');
 327+ mw.log( 'EmbedPlayer::trigger: EmbedPlayerManagerReady');
290328 $j( mw ).trigger( 'EmbedPlayerManagerReady' );
291329 }
292330
@@ -296,10 +334,10 @@
297335 // Make sure we have user preference setup ( for setting preferences on video selection )
298336 mw.setupUserConfig( function() {
299337 // Add each selected element to the player manager:
300 - $j( playerSelect ).each( function( index, playerElement) {
301 - // make sure the video tag was not generated by our own native player:
 338+ $j( playerSelect ).each( function( index, playerElement) {
 339+ // Make sure the video tag was not generated by our own native player:
302340 if( $j( playerElement ).hasClass( 'nativeEmbedPlayerPid' ) ){
303 - mw.log( '$j.embedPlayer skip native player: ' + playerElement );
 341+ mw.log( 'EmbedPlayer::$j.embedPlayer skip embedPlayer gennerated video: ' + playerElement );
304342 } else {
305343 mw.playerManager.addElement( playerElement, attributes);
306344 }
@@ -382,14 +420,16 @@
383421 // that add to the request set
384422 var playerDependencyRequest = [ ];
385423
 424+ // merge in any custom attributes
 425+ $j.extend( playerElement, attributes );
 426+
386427 // Update the list of dependent libraries for the player
387428 // ( allows extensions to add to the dependency list )
388429 mw.embedPlayerUpdateLibraryRequest( playerElement, playerDependencyRequest );
389430
390431 // Load any skins we need then swap in the interface
391432 mw.load( playerDependencyRequest, function() {
392 - var waitForMeta = true;
393 -
 433+ var waitForMeta = true;
394434 // Be sure to "stop" the target ( sometimes firefox keeps playing the video even
395435 // though its been removed from the DOM )
396436 if( playerElement.pause ){
@@ -417,11 +457,11 @@
418458 var ranPlayerSwapFlag = false;
419459
420460 // Local callback to runPlayer swap once playerElement has metadata
421 - function runPlayerSwap() {
 461+ function runPlayerSwap() {
422462 if( ranPlayerSwapFlag ){
423463 return ;
424464 }
425 - mw.log("mwEmbedPlayer::runPlayerSwap::" + $j( playerElement ).attr('id') );
 465+ mw.log("EmbedPlayer::runPlayerSwap::" + $j( playerElement ).attr('id') );
426466 ranPlayerSwapFlag = true;
427467 var playerInterface = new mw.EmbedPlayer( playerElement , attributes);
428468
@@ -429,7 +469,7 @@
430470
431471
432472 // Pass the id to any hook that needs to interface prior to checkPlayerSources
433 - mw.log("mwEmbedPlayer::addElement :trigger :: newEmbedPlayerEvent");
 473+ mw.log("EmbedPlayer::addElement :trigger :: newEmbedPlayerEvent");
434474 $j( mw ).trigger ( 'newEmbedPlayerEvent', playerInterface.id );
435475
436476 // Issue the checkPlayerSources call to the new player interface:
@@ -438,7 +478,7 @@
439479 }
440480
441481 if( waitForMeta ) {
442 - mw.log('mwEmbedPlayer::WaitForMeta ( video missing height (' + $j( playerElement ).attr('height') + '), width (' + $j( playerElement ).attr('width') + ') or duration' );
 482+ mw.log('EmbedPlayer::WaitForMeta ( video missing height (' + $j( playerElement ).attr('height') + '), width (' + $j( playerElement ).attr('width') + ') or duration' );
443483 playerElement.removeEventListener( "loadedmetadata", runPlayerSwap, true );
444484 playerElement.addEventListener( "loadedmetadata", runPlayerSwap, true );
445485
@@ -533,7 +573,7 @@
534574 * @param {Object} playerInterface Interface to swap into the target element
535575 */
536576 swapEmbedPlayerElement: function( targetElement, playerInterface ) {
537 - mw.log( 'swapEmbedPlayerElement: ' + targetElement.id );
 577+ mw.log( 'EmbedPlayer::swapEmbedPlayerElement: ' + targetElement.id );
538578 // Create a new element to swap the player interface into
539579 var swapPlayerElement = document.createElement('div');
540580
@@ -591,7 +631,7 @@
592632 */
593633 playerReady: function( player ) {
594634 var _this = this;
595 - mw.log( 'ReadyToPlay callback player:' + player.id );
 635+ mw.log( 'EmbedPlayer::ReadyToPlay callback player:' + player.id );
596636 player.readyToPlay = true;
597637
598638 // Remove the player loader spinner:
@@ -612,7 +652,7 @@
613653 // Be sure to remove any player loader spinners
614654 $j('.playerLoadingSpinner').remove();
615655
616 - mw.log( "All on-page players ready run playerMannager callbacks" );
 656+ mw.log( "EmbedPlayer::All on-page players ready run playerMannager callbacks" );
617657 // Run queued functions
618658 if( _this.callbackFunctions ) {
619659 while ( _this.callbackFunctions.length ) {
@@ -676,7 +716,7 @@
677717 * MediaSource constructor:
678718 */
679719 init : function( element ) {
680 - // mw.log('adding mediaSource: ' + element);
 720+ // mw.log('EmbedPlayer::adding mediaSource: ' + element);
681721 this.src = $j( element ).attr( 'src' );
682722
683723 // Set default URLTimeEncoding if we have a time url:
@@ -970,7 +1010,7 @@
9711011 */
9721012 init: function( videoElement ) {
9731013 var _this = this;
974 - mw.log( "mediaElement::init:" + videoElement.id );
 1014+ mw.log( "EmbedPlayer::mediaElement:init:" + videoElement.id );
9751015 this.sources = new Array();
9761016
9771017 // Process the videoElement as a source element:
@@ -1003,7 +1043,7 @@
10041044 */
10051045 textSourceExists: function() {
10061046 for ( var i = 0; i < this.sources.length; i++ ) {
1007 - mw.log( this.sources[i].mimeType );
 1047+ mw.log('EmbedPlayer::textSourceExists:'+ this.sources[i].mimeType );
10081048 if ( this.sources[i].mimeType == 'text/cmml' ||
10091049 this.sources[i].mimeType == 'text/x-srt' )
10101050 {
@@ -1055,7 +1095,7 @@
10561096 * @param {Number} index Index of source element to set as selectedSource
10571097 */
10581098 selectSource:function( index ) {
1059 - mw.log( 'f:selectSource:' + index );
 1099+ mw.log( 'EmbedPlayer::mediaElement:selectSource:' + index );
10601100 var playableSources = this.getPlayableSources();
10611101 for ( var i = 0; i < playableSources.length; i++ ) {
10621102 if ( i == index ) {
@@ -1071,7 +1111,7 @@
10721112 * Selects the default source via cookie preference, default marked, or by id order
10731113 */
10741114 autoSelectSource: function() {
1075 - mw.log( 'f:autoSelectSource:' );
 1115+ mw.log( 'EmbedPlayer::mediaElement::autoSelectSource:' );
10761116 // Select the default source
10771117 var playableSources = this.getPlayableSources();
10781118 var flash_flag = ogg_flag = false;
@@ -1099,7 +1139,6 @@
11001140 for ( var source = 0; source < playableSources.length; source++ ) {
11011141 var mimeType = playableSources[source].mimeType;
11021142 var player = mw.EmbedTypes.players.defaultPlayer( mimeType );
1103 - mw.log( 'f:autoSelectSource:' + mimeType );
11041143 if ( this.isOgg( mimeType ) && player && player.library == 'Native' ) {
11051144 this.selectedSource = playableSources[ source ];
11061145 return true;
@@ -1230,7 +1269,7 @@
12311270 * @param roe_data ROE data.
12321271 */
12331272 addROE: function( roe_data ) {
1234 - mw.log( 'f:addROE' );
 1273+ mw.log( 'EmbedPlayer::mediaElement:addROE' );
12351274 this.addedROEData = true;
12361275 var _this = this;
12371276 if ( roe_data ) {
@@ -1410,7 +1449,7 @@
14111450
14121451 // Make sure duration is a float:
14131452 this.duration = parseFloat( this.duration );
1414 - mw.log( this.id + " duration is: " + this.duration );
 1453+ mw.log( 'EmbedPlayer::mediaElement:' + this.id + " duration is: " + this.duration );
14151454
14161455 // Set the player size attributes based loaded video element:
14171456 this.setPlayerSize( element );
@@ -1552,7 +1591,7 @@
15531592 * that request is issued here
15541593 */
15551594 checkPlayerSources: function() {
1556 - mw.log( 'f:checkPlayerSources: ' + this.id );
 1595+ mw.log( 'EmbedPlayer::checkPlayerSources: ' + this.id );
15571596 var _this = this;
15581597
15591598 // Scope the end of check for player sources so it can be called in a callback
@@ -1566,7 +1605,7 @@
15671606 // NOTE: Should could be moved to mediaWiki Api support module
15681607 if ( _this.apiTitleKey ) {
15691608 // Load media from external data
1570 - mw.log( 'checkPlayerSources: loading apiTitleKey data' );
 1609+ mw.log( 'EmbedPlayer::checkPlayerSources: loading apiTitleKey data' );
15711610 _this.loadSourceFromApi( function(){
15721611 finishCheckPlayerSources();
15731612 } );
@@ -1673,7 +1712,7 @@
16741713 */
16751714 checkForTimedText: function( ) {
16761715 var _this = this;
1677 - mw.log( 'checkForTimedText: ' + _this.id + " height: " + this.height );
 1716+ mw.log( 'EmbedPlayer::checkForTimedText: ' + _this.id + " height: " + this.height );
16781717 // Check for timedText support
16791718 if( this.isTimedTextSupported() ) {
16801719 mw.load( 'TimedText', function() {
@@ -1693,7 +1732,7 @@
16941733 * Sets load error if no source is playable
16951734 */
16961735 setupSourcePlayer: function() {
1697 - mw.log("setupSourcePlayer: " + this.id );
 1736+ mw.log("EmbedPlayer::setupSourcePlayer: " + this.id );
16981737 // Autoseletct the media source
16991738 this.mediaElement.autoSelectSource();
17001739
@@ -1732,6 +1771,9 @@
17331772
17341773 mw.log( 'No player found for given source type ' + missingType );
17351774 this.showPluginMissingHTML( missingType );
 1775+
 1776+ // Call the global player manager to inform this video interface is "ready" for page callback to be proccessed.
 1777+ mw.playerManager.playerReady( this );
17361778 }
17371779 },
17381780
@@ -1741,7 +1783,7 @@
17421784 * @param {Function} callback Function to be called once playback-system has been inherited
17431785 */
17441786 inheritEmbedPlayer: function( callback ) {
1745 - mw.log( "inheritEmbedPlayer:duration is: " + this.getDuration() + ' p: ' + this.id );
 1787+ mw.log( "EmbedPlayer::inheritEmbedPlayer:duration is: " + this.getDuration() + ' p: ' + this.id );
17461788
17471789 // Clear out any non-base embedObj methods:
17481790 if ( this.instanceOf ) {
@@ -1886,7 +1928,7 @@
18871929 if ( this.supportsURLTimeEncoding() ) {
18881930 // Make sure this.seek_time_sec is up-to-date:
18891931 this.seek_time_sec = mw.npt2seconds( this.start_npt ) + parseFloat( percent * this.getDuration() );
1890 - mw.log( 'updated seek_time_sec: ' + mw.seconds2npt ( this.seek_time_sec ) );
 1932+ mw.log( 'EmbedPlayer::doSeek:: updated seek_time_sec: ' + mw.seconds2npt ( this.seek_time_sec ) );
18911933 this.stop();
18921934 this.didSeekJump = true;
18931935 // Update the slider
@@ -1916,7 +1958,7 @@
19171959 * issues a loading request
19181960 */
19191961 doEmbedPlayer: function() {
1920 - mw.log( 'EmbedPlayer :: doEmbedPlayer::' + this.selectedPlayer.id );
 1962+ mw.log( 'EmbedPlayer::doEmbedPlayer::' + this.selectedPlayer.id );
19211963 //mw.log( 'thum disp:' + this.thumbnail_disp );
19221964 var _this = this;
19231965
@@ -1938,7 +1980,7 @@
19391981 _this.bufferEndFlag = false;
19401982
19411983 // Make sure the player is
1942 - mw.log( 'performing embed for ' + _this.id );
 1984+ mw.log( 'EmbedPlayer::performing embed for ' + _this.id );
19431985 };
19441986
19451987 // If no binded events, run the local doEmbedPlayer function directly:
@@ -1962,7 +2004,7 @@
19632005 * On clip done action. Called once a clip is done playing
19642006 */
19652007 onClipDone: function() {
1966 - mw.log( 'base:onClipDone ::' + this.id + ' doneCount:' + this.donePlayingCount );
 2008+ mw.log( 'EmbedPlayer::onClipDone:' + this.id + ' doneCount:' + this.donePlayingCount );
19672009 var _this = this;
19682010
19692011
@@ -2014,7 +2056,7 @@
20152057 */
20162058 showThumbnail: function() {
20172059 var _this = this;
2018 - mw.log( 'f:showThumbnail' + this.thumbnail_disp );
 2060+ mw.log( 'EmbedPlayer::showThumbnail' + this.thumbnail_disp );
20192061
20202062 // Close Menu Overlay:
20212063 this.controlBuilder.closeMenuOverlay();
@@ -2074,7 +2116,7 @@
20752117 }
20762118
20772119 if ( this.autoplay ) {
2078 - mw.log( 'showPlayer::activating autoplay' );
 2120+ mw.log( 'EmbedPlayer::showPlayer::activating autoplay' );
20792121 // Issue a non-blocking play request
20802122 setTimeout(function(){
20812123 _this.play();
@@ -2097,7 +2139,9 @@
20982140 $j( '#' + this.pid ).hide()
20992141 }
21002142 if( this.mediaElement.sources.length == 0 ){
2101 - $j( this ).html(
 2143+ // hide the pid if present:
 2144+ $j( '#pid_' + this.id ).hide();
 2145+ $j( this ).show().html(
21022146 $j('<span />').text(
21032147 gM('mwe-embedplayer-missing-source')
21042148 )
@@ -2133,7 +2177,7 @@
21342178 * @param {String} time_req
21352179 */
21362180 updateVideoTimeReq: function( time_req ) {
2137 - mw.log( 'f:updateVideoTimeReq' );
 2181+ mw.log( 'EmbedPlayer::updateVideoTimeReq:' + time_req );
21382182 var time_parts = time_req.split( '/' );
21392183 this.updateVideoTime( time_parts[0], time_parts[1] );
21402184 },
@@ -2298,7 +2342,7 @@
22992343 * download, and embed code.
23002344 */
23012345 updatePosterHTML: function () {
2302 - mw.log( 'embedPlayer:updatePosterHTML::' + this.id );
 2346+ mw.log( 'EmbedPlayer:updatePosterHTML::' + this.id );
23032347 var thumb_html = '';
23042348 var class_atr = '';
23052349 var style_atr = '';
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/binPlayers/kaltura-player/kdp3.swf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/binPlayers/kaltura-player/LightDoodleskin.swf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/MwEmbedStandAlone/modules/EmbedPlayer/binPlayers/kaltura-player/LightDoodleskin.swf
___________________________________________________________________
Added: svn:mime-type
23062350 + application/octet-stream
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/EmbedPlayer.i18n.php
@@ -67,7 +67,7 @@
6868 'mwe-embedplayer-video-flv' => 'Flash video',
6969 'mwe-embedplayer-video-ogg' => 'Ogg video',
7070 'mwe-embedplayer-video-audio' => 'Ogg audio',
71 - 'mwe-embedplayer-missing-source' => 'No source video was found. Check that your embed code includes a source or API key',
 71+ 'mwe-embedplayer-missing-source' => 'No source video was found. Check that your API key includes html5 playable sources',
7272 );
7373
7474 /** Afrikaans (Afrikaans) */
Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js
@@ -4,7 +4,7 @@
55 */
66 var urlparts = getRemoteEmbedPath();
77 var mwEmbedHostPath = urlparts[0];
8 -var mwRemoteVersion = 'r136';
 8+var mwRemoteVersion = 'r137';
99 var mwUseScriptLoader = true;
1010
1111 // Log the mwRemote version makes it easy to debug cache issues

Status & tagging log