Changeset 82336 in spip-zone for _plugins_/mediaspip_player


Ignore:
Timestamp:
May 13, 2014, 12:57:58 PM (6 years ago)
Author:
brunobergot@…
Message:

pétouille

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/mediaspip_player/trunk/javascript/mediaspip_player.js

    r82251 r82336  
    940940                                                height_final = (id.videoHeight*ratio).toFixed(),
    941941                                                top = ((window_height-height_final)/2).toFixed();
    942                                         $(this).css({position:'absolute',width:window_width+'px',height:height_final+'px',top:top+'px',left:'0'});
     942                                        media.css({position:'absolute',width:window_width+'px',height:height_final+'px',top:top+'px',left:'0'});
    943943                                }else{
    944944                                        var left = ((window_width-width_final)/2).toFixed();
Note: See TracChangeset for help on using the changeset viewer.