Changeset 13706670b8ae37cfbd0edcd742b629ce4864d8d2

Show
Ignore:
Timestamp:
15/06/08 09:34:07 (4 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1213515247 +0200
git-parent:

[99c1a2579b946e0fd4212f533e3201ad2f49a164]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1213475316 +0200
Message:

Add Ended state.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/activex/test.html

    r9649fa5 r1370667  
    343343    { 
    344344        // current media has stopped  
    345         onStop(); 
     345        onEnd(); 
    346346    } 
    347347    else if( newState == 1 ) 
     
    381381    } 
    382382    else if( newState == 8 ) 
     383    { 
     384    // current media has ended 
     385    onEnd(); 
     386    } 
     387    else if( newState == 9 ) 
    383388    { 
    384389        // current media encountered error 
     
    414419        { 
    415420            // current media has stopped  
    416             onStop(); 
     421            onEnd(); 
    417422        } 
    418423        else if( newState == 1 ) 
     
    452457    } 
    453458    else if( newState == 8 ) 
     459    { 
     460        // current media has ended 
     461            onEnd(); 
     462        } 
     463    else if( newState == 9 ) 
    454464        { 
    455465            // current media encountered error 
     
    602612    document.getElementById("state").innerHTML = "Backward playing..."; 
    603613}; 
     614 
     615function onEnd() 
     616{ 
     617    document.getElementById("state").innerHTML = "End..."; 
     618}; 
     619 
    604620 
    605621var liveFeedText = new Array("Live", "((Live))", "(( Live ))", "((  Live  ))");