Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
13706670
Commit
13706670
authored
Jun 14, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Ended state.
parent
99c1a257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
projects/activex/test.html
projects/activex/test.html
+18
-2
No files found.
projects/activex/test.html
View file @
13706670
...
@@ -342,7 +342,7 @@ function doState()
...
@@ -342,7 +342,7 @@ function doState()
if( newState == 0 )
if( newState == 0 )
{
{
// current media has stopped
// current media has stopped
on
Stop
();
on
End
();
}
}
else if( newState == 1 )
else if( newState == 1 )
{
{
...
@@ -380,6 +380,11 @@ function doState()
...
@@ -380,6 +380,11 @@ function doState()
onBackward();
onBackward();
}
}
else if( newState == 8 )
else if( newState == 8 )
{
// current media has ended
onEnd();
}
else if( newState == 9 )
{
{
// current media encountered error
// current media encountered error
onError();
onError();
...
@@ -413,7 +418,7 @@ function monitor()
...
@@ -413,7 +418,7 @@ function monitor()
if( newState == 0 )
if( newState == 0 )
{
{
// current media has stopped
// current media has stopped
on
Stop
();
on
End
();
}
}
else if( newState == 1 )
else if( newState == 1 )
{
{
...
@@ -451,6 +456,11 @@ function monitor()
...
@@ -451,6 +456,11 @@ function monitor()
onBackward();
onBackward();
}
}
else if( newState == 8 )
else if( newState == 8 )
{
// current media has ended
onEnd();
}
else if( newState == 9 )
{
{
// current media encountered error
// current media encountered error
onError();
onError();
...
@@ -602,6 +612,12 @@ function onBackward()
...
@@ -602,6 +612,12 @@ function onBackward()
document.getElementById("state").innerHTML = "Backward playing...";
document.getElementById("state").innerHTML = "Backward playing...";
};
};
function onEnd()
{
document.getElementById("state").innerHTML = "End...";
};
var liveFeedText = new Array("Live", "((Live))", "(( Live ))", "(( Live ))");
var liveFeedText = new Array("Live", "((Live))", "(( Live ))", "(( Live ))");
var liveFeedRoll = 0;
var liveFeedRoll = 0;
...
...
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