![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/12/2010, 14:54
|
| | Fecha de Ingreso: noviembre-2010
Mensajes: 33
Antigüedad: 14 años, 3 meses Puntos: 1 | |
Respuesta: Parámetros entre paginas ya solucione el problema!!!!!, acá les dejo el código muchas gracias a todos me sirvió muchísimo todo lo que pusieron!! <html>
<head><title>Reproductor</title>
<script type="text/javascript">
function mute()
{
vlc.audio.toggleMute();
}
function play()
{
vlc.playlist.play();
}
function stop()
{
vlc.playlist.stop();
}
function pause()
{
vlc.playlist.togglePause();
}
</script>
</head>
<body>
<h1>Demo of VLC mozilla plugin - Example 1</h1>
<div>
<div id="screen">
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin." width="400" height="300" autoplay="true" loop="yes" <?php
$num_video=$_GET["n"];
$xml = file_get_contents("videosw.xml");
preg_match_all('/<video>(.*)<\/video>/', $xml, $resultado);
echo("target=".$resultado[1][$num_video]." ");?> id="vlc"></embed>
</div>
</div>
<br />
<div id="controls">
<input type="button" onclick="play()" value="Play" />
<input type="button" onclick="pause()" value="Pause" />
<input type="button" onclick="stop()" value="Stop" />
<input type="button" onclick="mute()" value="Mute" />
</div>
</body>
</html> |