Commit 2e428476 authored by Julien Bouquillon's avatar Julien Bouquillon Committed by Jean-Baptiste Kempf

Add a very simple example

parent db4049c8
<title>Simplest VLC plugin test</title>
<script language="javascript">
function play(tgt) {
var uri = "";
if (document.all) tgt += "_IE"
var tgt = document.getElementById(tgt);
// alert(tgt);
if (document.all) tgt.playlist.add(uri,uri, new Array());
else tgt.playlist.add(uri,uri, "");;
function reload() {
setTimeout("document.location.reload();", 500);
<body onload="play('vlc1')">
<h1>Simplest VLC plugin test</h1>
<OBJECT id='vlc1_IE' codeBase= height=240 width=320 classid=clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921>
<embed type="application/x-vlc-plugin" pluginspage="" version="VideoLAN.VLCPlugin.2"
<button onclick="play('vlc1')">play in VLC1</button>
<button onclick="reload()">reload</button>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment