Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d42e4f90
Commit
d42e4f90
authored
Apr 20, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activex: sync test.html page with mozilla test.html page
parent
55fbd58c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
projects/activex/test.html
projects/activex/test.html
+21
-7
No files found.
projects/activex/test.html
View file @
d42e4f90
...
...
@@ -153,7 +153,7 @@ Insert Slider widget
<TR><TD>
Playlist:
<INPUT
type=
button
value=
"Prev"
onClick=
'getVLC("vlc").playlist.prev();'
>
<INPUT
type=
button
value=
"Next"
onClick=
'getVLC("vlc").playlist.next();'
>
<INPUT
type=
button
value=
"Clear All"
onClick=
'
getVLC("vlc").playlist.clear(); doItemCount
();'
>
<INPUT
type=
button
value=
"Clear All"
onClick=
'
doPlaylistClearAll
();'
>
Aspect Ratio:
<SELECT
readonly
onChange=
'doAspectRatio(this.value)'
>
<OPTION
value=
"default"
>
Default
</OPTION>
...
...
@@ -329,7 +329,7 @@ function doItemCount()
var vlc = getVLC("vlc");
if( vlc )
{
var count = vlc.playlist.item
C
ount;
var count = vlc.playlist.item
s.c
ount;
document.getElementById("itemCount").value = " Items " + count + " ";
}
}
...
...
@@ -338,7 +338,21 @@ function doRemoveItem(item)
{
var vlc = getVLC("vlc");
if( vlc )
vlc.playlist.removeItem(item);
vlc.playlist.items.remove(item);
}
function doPlaylistClearAll()
{
var vlc = getVLC("vlc");
if( vlc )
{
vlc.playlist.items.clear();
while( vlc.playlist.items.count > 0)
{
// wait till playlist empties.
}
doItemCount();
}
}
function doMessages()
...
...
@@ -532,8 +546,8 @@ function doGo(targetURL)
if( vlc )
{
vlc.playlist.clear();
while( vlc.playlist.item
C
ount > 0 )
vlc.playlist.
items.
clear();
while( vlc.playlist.item
s.c
ount > 0 )
{
// clear() may return before the playlist has actually been cleared
// just wait for it to finish its job
...
...
@@ -546,7 +560,7 @@ function doGo(targetURL)
vlc.log.verbosity = 1;
vlc.log.messages.clear();
// play MRL
vlc.playlist.play
(
);
vlc.playlist.play
Item(itemId
);
if( monitorTimerId == 0 )
{
monitor();
...
...
@@ -583,7 +597,7 @@ function doPlayOrPause()
vlc.playlist.togglePause();
monitor();
}
else if( vlc.playlist.item
C
ount > 0 )
else if( vlc.playlist.item
s.c
ount > 0 )
{
// clear the message log and enable error logging
vlc.log.verbosity = 1;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment