SuitestAutomation/suitest-js-api

View on GitHub
lib/constants/videoState.js

Summary

Maintainability
A
30 mins
Test Coverage
A
100%
/* eslint-disable key-spacing */

const videoState = {
    STOPPED:            'stopped',
    ERROR:              'error',
    PLAYING:            'playing',
    PAUSED:             'paused',
    CONNECTING:         'connecting',
    BUFFERING:          'buffering',
    FINISHED:           'finished',
    IDLE:               'idle',
    PREPARING:          'preparing',
    PREPARED:           'prepared',
    PLAYBACK_COMPLETED: 'playback_completed',
    UNKNOWN:            'unknown',
    REVERSING:          'reversing',
};

Object.freeze(videoState);

module.exports = videoState;