Changeset 83987 in spip-zone
- Timestamp:
- Aug 1, 2014, 4:04:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/mediaspip_player/trunk/javascript/mediaspip_player.js
r82336 r83987 137 137 options = $.extend(defaults, options); 138 138 139 var media = $(this), id = media[0], playable = id.isFullScreen = id.has_html5_cover = false; 139 var media = $(this), id = media[0], playable = false; 140 140 141 141 142 if(media.is(':hidden')) media.show(); … … 146 147 */ 147 148 if(typeof(id) != "undefined" && typeof(id.canPlayType) != "undefined"){ 149 id.isFullScreen = id.has_html5_cover = false; 148 150 media.children('source').each(function(){ 149 151 if(!$(this).attr('type').match('flv') && id.canPlayType($(this).attr('type')) !== ''){ … … 200 202 } 201 203 202 if(!IS_IPAD){ 203 if(id.controls) id.addcontrols = true; 204 id.controls = false; 205 class_wrapper += ' loading no_metadata'; 206 } 204 if(id.controls) id.addcontrols = true; 205 id.controls = false; 206 class_wrapper += ' loading no_metadata'; 207 207 208 208 if(media.prev().is('img')) … … 295 295 } 296 296 297 if(!IS_IPAD){297 //if(!IS_IPAD){ 298 298 media.bind("loadedmetadata",function(e){ 299 299 id.has_metadatas = true; … … 498 498 } 499 499 media.ms_start('canplay'); 500 }500 //} 501 501 }else 502 502 media.ms_test_fallback(options);
Note: See TracChangeset
for help on using the changeset viewer.