--- a/web/player_embed.php Wed Oct 05 13:39:57 2011 +0200
+++ b/web/player_embed.php Wed Oct 05 18:11:31 2011 +0200
@@ -6,13 +6,13 @@
*/
$rep = $_REQUEST['rep'];
include_once dirname(__FILE__).'/'.$rep.'/config.php';
-// configuration
+// configuration
include 'common.php';
-// todo :
+// todo :
// - gestion du parent.document.location mediafragment
-// - limite taille vertical embed
-// - ajouter la polemic timline en dessous de la video
+// - limite taille vertical embed
+// - ajouter la polemic timline en dessous de la video
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
@@ -23,9 +23,9 @@
<!-- JAVASCRIPT -->
<script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
- <script type="text/javascript">
+ <script type="text/javascript">
$.noConflict();
- </script>
+ </script>
<script type="text/javascript" src="<?php echo(registry_url('jquery-ui','js'))?>"></script>
<script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script>
@@ -34,7 +34,7 @@
<link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
<link href='<?php echo(registry_url('Geo','font'))?>' rel='stylesheet' type='text/css'>
- <style type="text/css">
+ <style type="text/css">
body{
padding:0px;
margin:0px;
@@ -47,7 +47,7 @@
padding : 3px;
z-index: 10000000000;
max-width: 200px;
- }
+ }
#tip {
display: none;
background: transparent url("<?php echo(URL_ROOT);?>images/white_arrow_long.png");
@@ -74,7 +74,7 @@
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23581291-1']);
_gaq.push(['_trackPageview']);
- _gaq.push(['_setAllowAnchor', true]);
+ _gaq.push(['_setAllowAnchor', true]);
(function() {
@@ -96,13 +96,13 @@
height:<?php echo($config['player_height']); ?>,
heightmax:<?php echo($config['player_height']); ?>,
duration:<?php echo($config['duration']); ?>,
- metadata:"<?php echo($config['metadata']); ?>"
+ metadata:"<?php echo($translate->_('config__metadata')); ?>"
}
</script>
<script type='text/javascript' src='<?php echo(URL_ROOT);?>res/metadataplayer.polemic/src/js/polemic.js'></script>
<body>
- <!-- tooltip -->
+ <!-- tooltip -->
<div id="tip">
<div id="tipcolor" style="height:10px;width:10px"></div>
<div id="tiptext"></div>
@@ -110,7 +110,7 @@
<div class="root" >
<div class="videoLivePlayer">
- <div id="chartTimeline"> </div>
+ <div id="chartTimeline"> </div>
<script type="text/javascript">
var paper = Raphael(document.getElementById("chartTimeline"),config.width, config.height);
</script>
@@ -120,7 +120,7 @@
jQueryToolTip:"<?php echo(registry_url('jquery-tools','js'));?>",
jQueryUI:"<?php echo(registry_url('jquery-ui','js'));?>",
swfObject:"<?php echo(registry_url('swfobject','js'));?>",
- cssjQueryUI:"<?php echo(registry_url('jquery-ui','css'));?>"
+ cssjQueryUI:"<?php echo(registry_url('jquery-ui','css'));?>"
});
</script>
<div id="player_project_843fff80-6b50-11e0-8aef-00145ea49a02_embed" class="iri_player_embed"> </div>
@@ -129,7 +129,7 @@
var configMP = {
metadata:{
format:'cinelab',
- src:'<?php echo($config['metadata']); ?>',
+ src:'<?php echo($translate->_('config__metadata')); ?>',
load:'jsonp'},
gui:{
width:<?php echo($config['player_width']); ?>,
@@ -143,9 +143,9 @@
type:'jwplayer',
src:'<?php echo(URL_ROOT);?>res/mediaplayer/player.swf'}
};
- __IriSP.init(configMP);
+ __IriSP.init(configMP);
</script>
- </div>
- </div>
+ </div>
+ </div>
</body>
</html>