Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@SuitLollipop
SuitLollipop / tizen-av-play-with-suitest.js
Last active July 4, 2018 09:58
Hooking up the Tizen's av play video object to Suitest requires a few extra lines of code. This is due to the object's architecture that does not allow multiple independent listeners. For more information check: https://suite.st/docs/testing/test-subjects/video-subject/
function init() {
/**
* Suitest-specific constants that define video play state
* @type {Object}
*/
var suitestStates = {
STOPPED: 'stopped',
PLAYING: 'playing',
PAUSED: 'paused',