Skip to content

Instantly share code, notes, and snippets.

@SuitLollipop
SuitLollipop / tizen-av-play-with-suitest.js
Last active Jul 4, 2018
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/
View tizen-av-play-with-suitest.js
function init() {
/**
* Suitest-specific constants that define video play state
* @type {Object}
*/
var suitestStates = {
STOPPED: 'stopped',
PLAYING: 'playing',
PAUSED: 'paused',