Skip to content

Commit

Permalink
buffer should always return a TimeRange
Browse files Browse the repository at this point in the history
  • Loading branch information
eXon committed May 21, 2015
1 parent aa998c9 commit 956d77a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/tech/tech.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import TextTrack from '../tracks/text-track';
import TextTrackList from '../tracks/text-track-list';
import * as Fn from '../utils/fn.js';
import log from '../utils/log.js';
import { createTimeRange } from '../utils/time-ranges.js';
import { bufferedPercent } from '../utils/buffer.js';
import window from 'global/window';
import document from 'global/document';
Expand Down Expand Up @@ -130,7 +131,7 @@ class Tech extends Component {
}

buffered() {
return null;
return createTimeRange(0, 0);
}

bufferedPercent() {
Expand Down

0 comments on commit 956d77a

Please sign in to comment.