git-svn-id: http://yolanda.mister-muffin.de/svn@80 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-10-17 18:54:53 +00:00
parent 11d4070bb2
commit 98031e0f34
12 changed files with 160 additions and 3 deletions

1
trunk/LICENSE Normal file
View file

@ -0,0 +1 @@
INSTER AGPL 3 FINAL DAFT PUBLISHED BY FSF HERE

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,17 @@
/* Cortado - a video player java applet
* Copyright (C) 2004 Fluendo S.L.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
*/

23
trunk/java/LICENSE.jheora Normal file
View file

@ -0,0 +1,23 @@
/* Jheora
* Copyright (C) 2004 Fluendo S.L.
*
* Written by: 2004 Wim Taymans <wim@fluendo.com>
*
* Many thanks to
* The Xiph.Org Foundation http://www.xiph.org/
* Jheora was based on their Theora reference decoder.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

Binary file not shown.

View file

@ -48,11 +48,19 @@
<str id="file">file</str> <str id="file">file</str>
<str id="button_upload">upload</str> <str id="button_upload">upload</str>
<!-- video page -->
<str id="download">download</str>
<!-- dublin core entities --> <!-- dublin core entities -->
<str id="DC.title">title</str> <str id="DC.title">title</str>
<str id="DC.description">description</str>
<str id="DC.creator">author</str> <str id="DC.creator">author</str>
<str id="DC.subject">subject</str>
<str id="DC.description">description</str>
<str id="DC.publisher">uploader</str> <str id="DC.publisher">uploader</str>
<str id="DC.contributor">contributor</str>
<str id="DC.date">date</str>
<str id="DC.source">source</str>
<str id="DC.rights">righs holder</str>
</strings> </strings>

View file

@ -126,6 +126,17 @@ div
text-align: left; text-align: left;
} }
div.video
{
text-align: center;
}
div.videometadata
{
text-align: center;
margin: 4em;
}
div.toplists div.toplists
{ {
text-align: center; text-align: center;
@ -133,8 +144,8 @@ div
div.tagcloud div.tagcloud
{ {
text-align: center; text-align: center;
margin: 4em; margin: 4em;
} }
div.footer div.footer

42
trunk/video-test.xml Normal file
View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="./xsl/xhtml.xsl" ?>
<page
locale="en-US"
stylesheet="./style/gnutube.css"
username="pedobear@myopenid.net"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
<video>
<rdf:RDF>
<cc:Work rdf:about="./videos/zwobot-01-test.ogg">
<dc:title>Zwobot "Test Test"</dc:title>
<dc:creator>Anonymous</dc:creator>
<dc:subject>zwobot</dc:subject>
<dc:description>Die Zwobot Show ist toll.</dc:description>
<dc:publisher>Anonymous</dc:publisher>
<dc:contributor>Anonymous</dc:contributor>
<dc:contributor>Anonymous</dc:contributor>
<dc:date>2022-02-22T13:34:56+7:00</dc:date>
<dc:type>Video</dc:type>
<dc:format>video/x-theora+ogg</dc:format>
<dc:identifier>http://gnutube.org/videos/zwobot-01-test.ogg</dc:identifier>
<dc:source>http://www.zwobotsgeist.de/downloads.htm</dc:source>
<dc:language>de-DE</dc:language>
<dc:relation>video publishing website</dc:relation>
<dc:coverage>Monaco di Baviera</dc:coverage>
<dc:rights>VIVA 2</dc:rights>
</cc:Work>
<cc:License rdf:about="http://creativecommons.org/licenses/GPL/2.0/">
<cc:permits rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires rdf:resource="http://web.resource.org/cc/Notice" />
<cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
<cc:requires rdf:resource="http://web.resource.org/cc/SourceCode" />
</cc:License>
</rdf:RDF>
</video>
</page>

View file

@ -292,6 +292,61 @@
</xsl:template> </xsl:template>
<xsl:template match="video">
<xsl:call-template name="searchbar"/>
<div class="video">
<applet
code="com.fluendo.player.Cortado.class"
archive="./java/cortado-ovt-stripped-0.2.2.jar"
width="350"
height="250"
>
<param name="url">
<xsl:attribute name="value">
<xsl:value-of select="rdf:RDF/cc:Work/@rdf:about" />
</xsl:attribute>
</param>
<param name="seekable" value="true"/>
<param name="duration" value="8"/>
<param name="keepAspect" value="true"/>
<param name="video" value="true"/>
<param name="audio" value="true"/>
<param name="statusHeight" value="24"/>
<param name="autoPlay" value="true"/>
<param name="showStatus" value="show"/>
<param name="bufferSize" value="200"/>
</applet>
<br />
<a>
<xsl:attribute name="href">
<xsl:value-of select="rdf:RDF/cc:Work/@rdf:about" />
</xsl:attribute>
<xsl:value-of select="$locale_strings/str[@id='download']" />
<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" />
</a>
</div>
<div class="videometadata">
<xsl:value-of select="$locale_strings/str[@id='DC.title']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:title" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.creator']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:creator" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.subject']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:subject" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.description']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:description" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.publisher']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:publisher" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.date']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:date" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.source']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:source" /><br /><br />
<xsl:value-of select="$locale_strings/str[@id='DC.rights']" />:<br />
<xsl:value-of select="rdf:RDF/cc:Work/dc:rights" /><br /><br />
</div>
</xsl:template>
<xsl:template match="registerform"> <xsl:template match="registerform">
<div class="registerform"> <div class="registerform">