File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -524,6 +524,15 @@ class Html5 extends Tech {
524
524
} ) ;
525
525
}
526
526
527
+ /**
528
+ * Set whether we are scrubbing or not.
529
+ * This is used to decide whether we should use `fastSeek` or not.
530
+ * `fastSeek` is used to provide trick play on Safari browsers.
531
+ *
532
+ * @param {boolean } isScrubbing
533
+ * - true for we are currently scrubbing
534
+ * - false for we are no longer scrubbing
535
+ */
527
536
setScrubbing ( isScrubbing ) {
528
537
this . isScrubbing_ = isScrubbing ;
529
538
}
Original file line number Diff line number Diff line change @@ -483,6 +483,15 @@ class Tech extends Component {
483
483
return createTimeRange ( ) ;
484
484
}
485
485
486
+ /**
487
+ * Set whether we are scrubbing or not
488
+ *
489
+ * @abstract
490
+ *
491
+ * @see {Html5#setScrubbing}
492
+ */
493
+ setScrubbing ( ) { }
494
+
486
495
/**
487
496
* Causes a manual time update to occur if {@link Tech#manualTimeUpdatesOn} was
488
497
* previously called.
You can’t perform that action at this time.
0 commit comments