• scherkus's avatar
    Have WebMediaPlayerImpl track ended state. · d2c745b1
    scherkus authored
    Until we can rework the guts of HTMLMediaElement and its interaction
    with WebMediaPlayer, have WebMediaPlayerImpl track an ended state so it
    can return the duration HTMLMediaElement expects to fire the ended
    event.
    
    This makes it easier to change how Pipeline's audio/video time is
    implemented without worrying about the pecularities of HTMLMediaElement.
    
    BUG=349543,370634
    
    Review URL: https://codereview.chromium.org/526443003
    
    Cr-Commit-Position: refs/heads/master@{#293263}
    d2c745b1
webmediaplayer_impl.h 11.6 KB