Skip to content

Commit

Permalink
remove isPlaybackStarted function : not used.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosang committed Jun 13, 2017
1 parent 4ddf2fa commit 5dac9ae
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/streaming/controllers/PlaybackController.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ function PlaybackController() {
return startTime + (streamInfo.duration - offset) - getTime();
}

function isPlaybackStarted() {
return getTime() > 0;
}

function play() {
if (videoModel && videoModel.getElement()) {
videoModel.play();
Expand Down Expand Up @@ -470,7 +466,6 @@ function PlaybackController() {
setConfig: setConfig,
getStreamStartTime: getStreamStartTime,
getTimeToStreamEnd: getTimeToStreamEnd,
isPlaybackStarted: isPlaybackStarted,
getTime: getTime,
getPlaybackRate: getPlaybackRate,
getPlayedRanges: getPlayedRanges,
Expand Down

0 comments on commit 5dac9ae

Please sign in to comment.