Prueba el siguiente:
BBCode:
Código: Seleccionar todo
[ivoox={CHOICE=normal,html5,html5-mini;defaultValue=normal}]{NUMBER}[/ivoox]
HTML:
Código: Seleccionar todo
<iframe frameborder="0" allowfullscreen="" scrolling="no">
<xsl:choose>
<xsl:when test="normalize-space(@ivoox) = 'html5'">
<xsl:attribute name="width">100%</xsl:attribute>
<xsl:attribute name="height">105</xsl:attribute>
<xsl:attribute name="src">https://www.ivoox.com/player_ej_{@content}_2_1.html</xsl:attribute>
</xsl:when>
<xsl:when test="normalize-space(@ivoox) = 'html5-mini'">
<xsl:attribute name="width">238</xsl:attribute>
<xsl:attribute name="height">48</xsl:attribute>
<xsl:attribute name="src">https://www.ivoox.com/player_ek_{@content}_2_1.html</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="width">100%</xsl:attribute>
<xsl:attribute name="height">200</xsl:attribute>
<xsl:attribute name="src">https://www.ivoox.com/player_ej_{@content}_4_1.html</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</iframe>
El modo de uso es similar, salvo que añadí los tres reproductores disponibles: normal, HTML5 y HTML5 mini.
Tipo | Ejemplo |
Normal | [ivoox]XXXXX[/ivoox]
|
HTML5 | [ivoox=html5]XXXXX[/ivoox]
|
HTML5 mini | [ivoox=html5-mini]XXXXX[/ivoox]
|
Probado con phpBB 3.2.8, en otras versiones es posible que funcione, o no debido a un bug en TextFormatter (phpBB 3.2.6 - 3.2.7) 