Commit ea030598 authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf

test.html: add demo for getting current item index

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 03884873
......@@ -380,6 +380,8 @@ function close()
<input type="button" value="Next" onClick='getVLC("vlc");'>
<input type="button" value="Clear All" onClick='doPlaylistClearAll();'>
<input type="button" value="current item" onClick='alert("current item: " + getVLC("vlc").playlist.currentItem);'>
<input type="button" id="itemCount" value="Items: 0" onClick='doItemCount();'>
<form action="javascript:doRemoveItem(document.getElementById('removeid').value);">
<input type="text" size="4" value="" id="removeid">
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