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 >
Wrap
Extensible Markup Language
|
2007-09-17
|
4KB
|
71 lines
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<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"/>
<xsl:include href="../_include/extbase.xsl"/>
<xsl:template match="/extension">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><xsl:value-of select="name"/></title>
<link rel="stylesheet" href="../_css/style.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<xsl:call-template name="InitExtension"/>
</head>
<body class="extension" onunload="StopPlay()" background="/img/back.png">
<table width="214" border="0">
<tr>
<td><div align="center">
<div><img src="creative.png" width="136" height="27" /><br />
<strong>ZEN Vision</strong></div>
<hr />
</div>
<table width="100%" border="0">
<tr>
<td width="80" height="30"><p>Video:</p></td>
<td width="109"><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='video']"/></xsl:call-template>
</td>
</tr>
<tr>
<td height="30">Resolution:</td>
<td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='res']"/></xsl:call-template></td>
</tr>
<tr>
<td height="30">Frame rate:</td>
<td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='fps']"/></xsl:call-template> FPS </td>
</tr>
<tr>
<td height="30"> Video Bitrate:</td>
<td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='bitrate']"/></xsl:call-template> KBps </td>
</tr>
<tr>
<td height="30">Audio Quality :</td>
<td><xsl:call-template name="AddElement"><xsl:with-param name="element" select="elements/element[@id='aq']"/></xsl:call-template></td>
</tr>
</table>
<p align="center">
<input type="button" value="Play" style="width: 64px" onclick="PlayVideo(lcd())" />
<input type="button" value="Preview" style="width: 64px" onclick="PlayConvertedVideo(lcd())" />
<input type="button" value="Skip 10s" style="width: 64px" onclick="SendCommand('seek +10')" />
<input type="button" value="Crop" style="width: 64px" onclick="SendCommand('show_cropper')" />
<input type="button" value="SetTime" style="width: 64px" onclick="SendCommand('set_time')" />
<input type="button" value="Start" style="width: 64px" onclick="SendCommand('transcode')" />
</p></td>
</tr>
</table>
<div style="position:absolute; left: 231px; top: 5px"> <img src="zen.jpg" /> </div>
<embed id="lcd" type="application/x-xulplayer-scriptable-plugin" style="position:absolute; left: 283px; top: 40px; width: 245px; height: 182px;"> </embed>
</body>
</html>
</xsl:template>
</xsl:stylesheet>