source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/galeries/embed_video.html @ 229

Last change on this file since 229 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 743 bytes
Line 
1#CACHE{0}#HTTP_HEADER{Content-Type: text/html; charset=utf-8}
2<BOUCLE_documentflv(DOCUMENTS){id_document}{extension==flv}>
3<?php
4$largeur=[(#ENV{largeur})];
5if ($largeur==0){ $largeur=320; }
6$hauteur=round(($largeur/4)*3) + 20;
7?>
8<object type='application/x-shockwave-flash' width='<?php echo $largeur; ?>' height='<?php echo $hauteur; ?>' wmode='transparent'
9 data='#URL_SITE_SPIP/#CHEMIN{swf/flvplayer.swf}?autoStart=true&amp;file=#URL_SITE_SPIP/#URL_DOCUMENT'>
10 <param name='movie' value='#URL_SITE_SPIP/#CHEMIN{swf/flvplayer.swf}?file=#URL_SITE_SPIP/#URL_DOCUMENT' />
11 <param name='wmode' value='transparent' />
12</object>
13</BOUCLE_documentflv>
14<BOUCLE_document(DOCUMENTS){id_document}{extension!==flv}>
15#EMBED_DOCUMENT
16</BOUCLE_document>
Note: See TracBrowser for help on using the repository browser.