Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => I Template di Joomla 1.5.x => : salseridellostretto 08 Jun 2011, 17:03:26

: Trasparenza modulo
: salseridellostretto 08 Jun 2011, 17:03:26
Ho un modulo con la radio mediaplayer ma va in contrasto questo modulo con la chat di joomla ovvero avrei bisogno di mettere la trasparenza a questo modulo, ho letto in internet che dovrei mettere questa stringa nel php del modulo <param name="wmode" value="transparent">  giusto? o wmode = "transparent"  e sopratt dove la devo inserire?? allego il php del modulo
:
    $show['player'] = "
        <object id='MediaPlayer'
            width='$width'
            height='$height'
            classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'
            standby='Loading Microsoft Windows Media Player components...'
            type='application/x-oleobject'>
            <param name='uiMode' value='mini'>
            <param name='url' value='$default_station'>
            <param name='autoStart' value='true'>
            <param name='PlayCount' value='9999'>
            <param name='stretchToFit' value='True'>
            <param name='enableContextMenu' value='False'>
        </object>";

} else {
    $insert = "onchange='song()' size='1'";
     $show['player'] = "
        <script type='text/javascript'>
        <!--
        function song(){
            document.getElementById('music1').innerHTML
                = \"<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='\"+document.getElementById('station').value+\"' name='MediaPlayer1' width='$width' height='$height' controltype='2' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>\";
        }
        //-->
        </script>";
        $show['player'] .= "
        <div id='jukebox'><span id='music1'>
            <embed type='application/x-mplayer2'
                id='music2'
                pluginspage='http://www.microsoft.com/Windows/MediaPlayer/'
                src='$default_station'
                name='MediaPlayer1'
                width='$width'
                height='$height'
wmode=transparent
                controltype='2'
                showcontrols='1'
                showstatusbar='1'
                AutoStart='1'>
            </embed></span></div>";
: Re:Trasparenza modulo
: ViperSoulOwner 08 Jun 2011, 18:18:09
Se hai letto di dover aggiungere <param name="wmode" value="transparent">, aggiungilo semplicemente alla lista di tutti gli altri <param> che hai nel codice e testane il funzionamento.
: Re:Trasparenza modulo
: salseridellostretto 08 Jun 2011, 19:32:52
Se hai letto di dover aggiungere <param name="wmode" value="transparent">, aggiungilo semplicemente alla lista di tutti gli altri <param> che hai nel codice e testane il funzionamento.

non funziona sparisce dal sito
: Re:Trasparenza modulo
: ViperSoulOwner 09 Jun 2011, 15:45:49
Hai provato a contattare il team di sviluppo dell'estensione?