@param {!AmpElement} element
(element)
| 460 | return class FakeVideoPlayer extends win.AMP.BaseElement { |
| 461 | /** @param {!AmpElement} element */ |
| 462 | constructor(element) { |
| 463 | super(element); |
| 464 | |
| 465 | /** @private @const */ |
| 466 | this.timer_ = Services.timerFor(this.win); |
| 467 | |
| 468 | /** @private @const */ |
| 469 | this.length_ = 10000; |
| 470 | |
| 471 | /** @private @const */ |
| 472 | this.duration_ = 10; |
| 473 | |
| 474 | /** @private */ |
| 475 | this.currentTime_ = 0; |
| 476 | |
| 477 | /** @private */ |
| 478 | this.timeoutId_ = null; |
| 479 | } |
| 480 | |
| 481 | /** @override */ |
| 482 | isLayoutSupported(layout) { |
nothing calls this directly
no outgoing calls
no test coverage detected