home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / multimedia / mediacoder / MediaCoder-0.6.0.3905.exe / extensions / Zen.7z / extension.xsl < prev    next >
Extensible Markup Language  |  2007-09-17  |  4KB  |  71 lines

  1. <?xml version="1.0" encoding="utf-8"?><!DOCTYPE xsl:stylesheet  [
  2.     <!ENTITY nbsp   " ">
  3.     <!ENTITY copy   "©">
  4.     <!ENTITY reg    "®">
  5.     <!ENTITY trade  "™">
  6.     <!ENTITY mdash  "—">
  7.     <!ENTITY ldquo  "“">
  8.     <!ENTITY rdquo  "”"> 
  9.     <!ENTITY pound  "£">
  10.     <!ENTITY yen    "¥">
  11.     <!ENTITY euro   "€">
  12. ]>
  13. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  14.   <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  15.   <xsl:include href="../_include/extbase.xsl"/>
  16.   <xsl:template match="/extension">
  17.     <html xmlns="http://www.w3.org/1999/xhtml">
  18.     <head>
  19.     <title><xsl:value-of select="name"/></title>
  20.     <link rel="stylesheet" href="../_css/style.css"/>
  21.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  22.     <xsl:call-template name="InitExtension"/>
  23.     </head>
  24.     <body class="extension" onunload="StopPlay()" background="/img/back.png">
  25.     <table width="214" border="0">
  26.       <tr>
  27.         <td><div align="center">
  28.             <div><img src="creative.png" width="136" height="27" /><br />
  29.               <strong>ZEN Vision</strong></div>
  30.             <hr />
  31.           </div>
  32.           <table width="100%" border="0">
  33.             <tr>
  34.               <td width="80" height="30"><p>Video:</p></td>
  35.               <td width="109"><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='video']"/></xsl:call-template>
  36. </td>
  37.             </tr>
  38.             <tr>
  39.               <td height="30">Resolution:</td>
  40.               <td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='res']"/></xsl:call-template></td>
  41.             </tr>
  42.             <tr>
  43.               <td height="30">Frame rate:</td>
  44.               <td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='fps']"/></xsl:call-template> FPS </td>
  45.             </tr>
  46.             <tr>
  47.               <td height="30"> Video Bitrate:</td>
  48.               <td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='bitrate']"/></xsl:call-template> KBps </td>
  49.             </tr>
  50.             <tr>
  51.               <td height="30">Audio Quality :</td>
  52.               <td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='aq']"/></xsl:call-template></td>
  53.             </tr>
  54.           </table>
  55.           <p align="center">
  56.             <input type="button" value="Play" style="width: 64px" onclick="PlayVideo(lcd())" />
  57.             <input type="button" value="Preview" style="width: 64px" onclick="PlayConvertedVideo(lcd())" />
  58.             <input type="button" value="Skip 10s" style="width: 64px" onclick="SendCommand('seek +10')" />
  59.             <input type="button" value="Crop" style="width: 64px" onclick="SendCommand('show_cropper')" />
  60.             <input type="button" value="SetTime" style="width: 64px" onclick="SendCommand('set_time')" />
  61.             <input type="button" value="Start" style="width: 64px" onclick="SendCommand('transcode')" />
  62.           </p></td>
  63.       </tr>
  64.     </table>
  65.     <div style="position:absolute; left: 231px; top: 5px"> <img src="zen.jpg" /> </div>
  66.     <embed id="lcd" type="application/x-xulplayer-scriptable-plugin" style="position:absolute; left: 283px; top: 40px; width: 245px; height: 182px;">    </embed>
  67.     </body>
  68.     </html>
  69.   </xsl:template>
  70. </xsl:stylesheet>
  71.