Changeset 108330 in spip-zone


Ignore:
Timestamp:
Jan 3, 2018, 4:57:25 PM (16 months ago)
Author:
cedric@…
Message:

Indiquer la duree du morceau joue, et on passe le plugin en test car il semble a nouveau fonctionnel

Location:
_plugins_/player/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/player/trunk/paquet.xml

    r108311 r108330  
    33        categorie="multimedia"
    44        version="3.0.0"
    5         etat="dev"
     5        etat="test"
    66        compatibilite="[3.2.0;3.2.*]"
    77        logo="prive/themes/spip/images/player-32.png"
  • _plugins_/player/trunk/players/mejs/player.html

    r108323 r108330  
    1 #SET{url,#ENV{url_document,''}}#SET{id_document,''}#SET{largeur,0}
    2 <BOUCLE_doc (DOCUMENTS) {id_document}{tout}>#SET{url,#URL_DOCUMENT}#SET{id_document,#ID_DOCUMENT}#SET{largeur,#ENV{largeur,#LARGEUR}</BOUCLE_doc>
     1#SET{url,#ENV{url_document,''}}#SET{id_document,''}#SET{largeur,0}#SET{duree,#ENV{duree,''}}
     2<BOUCLE_doc (DOCUMENTS) {id_document}{tout}>#SET{url,#URL_DOCUMENT}#SET{id_document,#ID_DOCUMENT}#SET{largeur,#ENV{largeur,#LARGEUR}#SET{duree,#ENV{duree,#DUREE}}</BOUCLE_doc>
     3[(#SET{duree,[(#GET{duree}|intval|?{[(#GET{duree}|intval)],''})]})]
    34#SET{largeur,#ENV{largeur, #GET{largeur}|?{#GET{largeur},400}}|max{120}}
    45<dt class='spip_doc_titre player #ENV{player}'>
     
    89                       src="#GET{url}"
    910                       type="#MIME_TYPE"
    10                        data-mejsoptions='{"alwaysShowControls": true[,"loop":(#ENV{loop}|?{true,false})],"audioWidth":"100%"[,"audioHeight":"(#ENV{hauteur})"][,"startVolume":"(#ENV{volume})"][,"playlistSelector":"(#ENV{playlist})"]<B_feat>,"features":[<BOUCLE_feat(POUR){tableau #ENV{features}}{','}>"#VALEUR"</BOUCLE_feat>]</B_feat>}'
     11                       data-mejsoptions='{"alwaysShowControls": true[,"loop":(#ENV{loop}|?{true,false})],"audioWidth":"100%"[,"audioHeight":"(#ENV{hauteur})"][,"startVolume":"(#ENV{volume})"][,"duration":(#GET{duree})][,"playlistSelector":"(#ENV{playlist})"]<B_feat>,"features":[<BOUCLE_feat(POUR){tableau #ENV{features}}{','}>"#VALEUR"</BOUCLE_feat>]</B_feat>}'
    1112                       [data-mejsplugins='(#ENV{plugins}|json_encode)']
    1213                       controls="controls"
Note: See TracChangeset for help on using the changeset viewer.