예제 #1
0
파일: movie.php 프로젝트: noklesta/glossa
	border : 0px solid #aaa;
	font-size:9px;
	background-color:#fff;
}
  </style>
</head>
<body>
<?php 
// INIT
$file = $_GET['file'];
$start = $_GET['start'];
$stop = $_GET['stop'];
$movie_loc = "rtsp://lillestroem.uio.no/hf/ilf/";
$file = "samtale_001-002_800kbps.mov";
$start = secs2hhmmssff($start);
$stop = secs2hhmmssff($stop);
?>
start[<span style="cursor: pointer" onclick="restart(document.QTplayer, -2);">&lt;</span> <span style="cursor: pointer">&gt;</span>]<br />
stop[<span style="cursor: pointer">&lt;</span> <span style="cursor: pointer">&gt;</span>]
<div class="mov">
playing <?php 
echo "{$file}: {$start}, {$stop}";
?>
<!--
<script language="javascript" type="text/javascript">

var mov = <?php 
echo "'{$movie_loc}{$fn}'";
?>
;
    QT_WriteOBJECT( mov, '320', '256', '', 'EnableJavaScript', 'True', 'emb#NAME' , 'movie1' , 'obj#id' , 'movie1') ;
예제 #2
0
파일: expand.php 프로젝트: noklesta/glossa
    $QTstart = $QTstart[0];
    $QTstop = mysql_query($QTstop);
    $QTstop = mysql_fetch_array($QTstop);
    $QTstop = $QTstop[0];
    ?>
<script>
     // alert(<?php 
    echo "'start: {$QTstart}, stop: {$QTstop}'";
    ?>
);
</script>
<?php 
    #    $QTstart = sec2QTcode($QTstart);
    #    $QTstop = sec2QTcode($QTstop);
    $QTstart = secs2hhmmssff($QTstart);
    $QTstop = secs2hhmmssff($QTstop);
    ?>
<div class="mov">
<!--
<script language="javascript" type="text/javascript">

    var mov = <?php 
    echo "'{$movie_loc}{$fn}'";
    ?>
;
    QT_WriteOBJECT( mov, '320', '256', '', 'EnableJavaScript', 'True', 'emb#NAME' , 'movie1' , 'obj#id' , 'movie1') ;

</script>
-->