Source: lib/config/repeat_mode.js

  1. /*! @license
  2. * Shaka Player
  3. * Copyright 2016 Google LLC
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. goog.provide('shaka.config.RepeatMode');
  7. /**
  8. * @enum {number}
  9. * @export
  10. */
  11. shaka.config.RepeatMode = {
  12. /** When the queue is completed the media session is terminated. */
  13. 'OFF': 0,
  14. /**
  15. * All the items in the queue will be played indefinitely, when the last item
  16. * is played it will play the first item again.
  17. */
  18. 'ALL': 1,
  19. /** The current item will be played repeatedly. */
  20. 'SINGLE': 2,
  21. };