--- a/web/player.php Fri Dec 16 17:23:24 2011 +0100
+++ b/web/player.php Fri Dec 16 17:23:42 2011 +0100
@@ -1,7 +1,23 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<?php $url = "http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/" . $_GET["stream"];
+ $lines = file("entretiens.txt");
-<?php $url = "http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/" . $_GET["stream"] ?>
+ /* thank you php docs */
+ foreach ($lines as $line_num => $line) {
+ if ($line[0] == "#")
+ continue;
+
+ list($title, $author, $stream_id, $thumbnail, $date, $descript) = explode(";", $line);
+ if ($stream_id == $_GET["stream"])
+ break;
+
+ if (strlen($title) >= 37) {
+ $title = substr($title, 0, 35) . "...";
+ }
+ }
+?>
<head>
<title>Metadataplayer - Demo</title>
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'>
@@ -28,22 +44,26 @@
Metadataplayer, un outil opensource pour le web
</div>
- <table border=0 id="content">
+ <table border=0 id="player_content">
<tr>
<td id="left_pane"></td>
<td id="right_pane">
- <img src="../crea/imgs/technos.png" style="margin-top: 5px; margin-left: -3px;"></img>
+ <div id="session_infos" style="padding: 5px; background-color: #bbb; width: 220px; margin-top: 5px; margin-left: -3px;">
+
+ <b><?php echo $title ?></b><br>
+ par <?php echo $author ?>,<br> <?php echo $date ?>.
+ </div>
+ <!-- <img src="../crea/imgs/technos.png" style="margin-top: 5px; margin-left: -3px;"></img> -->
<div id="caption_text">
- Le MetaData player est une librarie opensource conçue pour afficher, produire et partager des métadonnées associées
- à des segments de contenus audiovisuels diffusés sur le Web.
- Il tire parti des derniers standards technologiques (html5, W3C mediafragment, popcorn.js de la fondation Mozilla).
- Cette interface sera prochainement utilisée pour le festival cinecast.
- <br><br>
- <b>Application</b>
- Visualisation et navigation dans les annotations polémiques sur le film "entre les murs" de Laurent Cantet.
- <br>
- 1500 annotations ont été produites par un groupe d'enseignants, de chercheurs, d'élèves et d'amateurs de cinéma sur
- la plateforme lignes de temps.
+ <p>
+ <b>Description : </b>
+ <?php echo $descript ?>
+ </p>
+ <p>
+ <b>Technologie :</b> Le MetaData player est une librarie opensource conçue pour afficher, produire et partager
+ des métadonnées associées à des segments de contenus audiovisuels diffusés sur le Web. Il tire parti des derniers
+ standards technologiques (html5, W3C mediafragment, popcorn.js de la fondation Mozilla).
+ </p>
</div>
</td>
</table>