Changeset 5929 in spip-zone


Ignore:
Timestamp:
Oct 5, 2006, 10:26:00 PM (15 years ago)
Author:
booz@…
Message:

la video avec le player neolao, et son modele

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/Lecteur_multimedia/modeles/doc_player.html

    r5866 r5929  
    1111
    1212]
     13
     14
    1315<BOUCLE_doc (DOCUMENTS) {id_document}>
    1416<div class='spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})] spip_lien_ok'[ style='float:(#ENV{align}|match{left|right});']>
     
    3638]
    3739[(#CONFIG{player}|=={neoplayer}|?{' ',''})
    38 <object id="audioplayer#ID_DOCUMENT" type="application/x-shockwave-flash" data="/plugins/Lecteur_multimedia/neoplayer_maxi.swf" width="200" height="20">
     40<object id="audioplayer#ID_DOCUMENT" type="application/x-shockwave-flash" data="#CHEMIN{neoplayer_maxi.swf}" width="200" height="20">
    3941        <param name="wmode" value="transparent" />
    40         <param name="movie" value="/plugins/Lecteur_multimedia/neoplayer_maxi.swf" />
     42        <param name="movie" value="#CHEMIN{neoplayer_maxi.swf}" />
    4143        <param name="FlashVars" value="mp3=#URL_DOCUMENT&amp;bgcolor1=ffffff&amp;bgcolor2=cccccc&amp;buttoncolor=999999&amp;buttonovercolor=0&amp;slidercolor1=cccccc&amp;slidercolor2=999999&amp;loadingcolor=ffff00&amp;sliderovercolor=666666&amp;textcolor=0&amp;showstop=1&amp;showinfo=0&amp;width=200&amp;height=20" />
    4244</object>
     
    4446
    4547[(#CONFIG{player}|=={neoplayer_multi}|?{' ',''})
    46 <object id="audioplayer#ID_DOCUMENT" type="application/x-shockwave-flash" data="/plugins/Lecteur_multimedia/neoplayer_multi.swf" width="200" height="100">
     48<object id="audioplayer#ID_DOCUMENT" type="application/x-shockwave-flash" data="#CHEMIN{neoplayer_multi.swf}" width="200" height="100">
    4749        <param name="wmode" value="transparent" />
    48         <param name="movie" value="/plugins/Lecteur_multimedia/neoplayer_multi.swf" />
     50        <param name="movie" value="#CHEMIN{neoplayer_multi.swf}" />
    4951        <param name="FlashVars" value="mp3=#URL_DOCUMENT|#URL_DOCUMENT&amp;bgcolor1=ffffff&amp;bgcolor2=cccccc&amp;buttoncolor=999999&amp;buttonovercolor=0&amp;slidercolor1=cccccc&amp;slidercolor2=999999&amp;sliderovercolor=666666&amp;textcolor=0&amp;showstop=1&amp;showinfo=1" />
    5052</object>
     
    5254
    5355[(#CONFIG{player}|=={dewplayer}|?{' ',''})
    54 <object type='application/x-shockwave-flash' data='/plugins/Lecteur_multimedia/dewplayer.swf?son=#URL_DOCUMENT' width='200' height='20'>
    55 <param name='movie' value='/plugins/Lecteur_multimedia/dewplayer.swf?son=#URL_DOCUMENT'/>
     56<object type='application/x-shockwave-flash' data='[(#CHEMIN{dewplayer.swf})]' width='200' height='20'>
     57<param name='movie' value='#CHEMIN{dewplayer.swf}'/>
     58<param name="FlashVars" value='son=[(#URL_DOCUMENT|url_absolue)]'>
    5659<span>[(#URL_DOCUMENT|enclosure_it{#URL_DOCUMENT})]</span>
    5760</object>
     
    6164})]
    6265[(#TYPE_DOCUMENT|=={Flash Video}|?{
    63 <object type='application/x-shockwave-flash' width='320' height='240' wmode='transparent' data='/plugins/Lecteur_multimedia/flvplayer.swf?file=$url&autoStart=false'>
    64 <param name='movie' value='/plugins/Lecteur_multimedia/flvplayer.swf?file=$url&autoStart=false' />
    65 <param name='wmode' value='transparent' />
     66<object type="application/x-shockwave-flash" data="[(#CHEMIN{player_flv.swf})]" width="[(#LARGEUR|=={0}|?{400,#LARGEUR})]" height="[(#HAUTEUR|=={0}|?{300,#HAUTEUR})]">
     67        <param name="movie" value="[(#CHEMIN{player_flv.swf})]" />
     68        <param name="FlashVars" value="flv=[(#URL_DOCUMENT|url_absolue)]&amp;width=[(#LARGEUR|=={0}|?{400,#LARGEUR})]&amp;height=[(#HAUTEUR|=={0}|?{300,#HAUTEUR})]&amp;bgcolor1=ffffff&amp;bgcolor2=cccccc&amp;buttoncolor=999999&amp;buttonovercolor=0&amp;slidercolor1=cccccc&amp;slidercolor2=999999&amp;sliderovercolor=666666&amp;textcolor=0&amp;showstop=1&amp;title=#TITRE&amp;startimage=[(#LOGO_DOCUMENT||extraire_attribut{src})]" />
     69        <param name="wmode" value="transparent" />
    6670<span>[(#URL_DOCUMENT|enclosure_it{#URL_DOCUMENT})]</span>
    6771</object>
    6872
    6973<dl class='spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})] spip_lien_ok'[ style='float:(#ENV{align}|match{left|right});']>
    70 [<dt><a href="[(#ENV{lien}|sinon{#URL_DOCUMENT})]" type="#MIME_TYPE"[ class="(#ENV{lien_class})"] title='#TYPE_DOCUMENT - [(#TAILLE|taille_en_octets|texte_backend)]'>
    71 (#ID_VIGNETTE|?{
    72 <img src='[(#LOGO_DOCUMENT||extraire_attribut{src})]' width='[(#LOGO_DOCUMENT||largeur)]' height='[(#LOGO_DOCUMENT||hauteur)]' alt='#TYPE_DOCUMENT - [(#TAILLE|taille_en_octets|texte_backend)]' /></a></dt>
    73 ,
    74 ''
    75 })]
    7674[
    77 <dt class='spip_doc_titre'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120})px;']><strong>(#TITRE)</strong></dt>][
    7875<dd class='spip_doc_descriptif'[ style='width:(#LOGO_DOCUMENT||largeur|min{350}|max{120})px;']>(#DESCRIPTIF)#NOTES</dd>]
    7976</dl>
Note: See TracChangeset for help on using the changeset viewer.