Changeset 30030 in spip-zone


Ignore:
Timestamp:
Jul 20, 2009, 10:17:09 PM (10 years ago)
Author:
booz@…
Message:

on peut mettre des variables globales si on veut

Location:
_plugins_/lecteur_multimedia_v2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/lecteur_multimedia_v2/javascript/lm2_inlineplayer.js

    r30029 r30030  
    230230var inlinePlayer = null;
    231231
    232 soundManager.debugMode = true; // disable or enable debug output
    233 
    234 soundManager.url = 'lib/soundmanagerv295a-20090717/swf/'; // path to directory containing SM2 SWF
     232// soundManager.debugMode = true; // disable or enable debug output
     233
     234soundManager.url = REPSWF ; // path to directory containing SM2 SWF
    235235
    236236soundManager.onready(function() {
  • _plugins_/lecteur_multimedia_v2/lm2_pipelines.php

    r30029 r30030  
    33        $flux .= '<script type="text/javascript" src="'.find_in_path(_DIR_LIB_SM.'script/soundmanager2.js').'"></script>'."\n";
    44        $flux .= '<script type="text/javascript" src="'.find_in_path('javascript/lm2_playlist_jquery.js').'"></script>'."\n";
     5        $flux .= '<link rel="stylesheet" href="'.generer_url_public('lm2_player.css').'" type="text/css" media="all" />'."\n";
     6        $flux .= '<script type="text/javascript">'."\n".
     7        'soundManager.debugMode = false;'."\n".
     8        'var REPSWF ="' . _DIR_LIB_SM . 'swf/";'."\n".
     9        '</script>'."\n" ;
    510        $flux .= '<script type="text/javascript" src="'.find_in_path('javascript/lm2_inlineplayer.js').'"></script>'."\n";
    6         $flux .= '<link rel="stylesheet" href="'.generer_url_public('lm2_player.css').'" type="text/css" media="all" />'."\n";
    7         $flux .= '<script type="text/javascript">soundManager.debugMode = false;</script>';
     11
    812        return $flux;
    913}
Note: See TracChangeset for help on using the changeset viewer.