https://i.imgur.com/3YUwlIG.png
Code: Select all
{
"container": {
"initInProgress": true,
"ListenObjectID": 1795
},
"disabledCounter": 0,
"_disabled": false,
"_tabIndex": -1,
"_hasSplitters": false,
"_dockable": false,
"_isDock": false,
"_controlTitle": "player",
"_localPromises": [],
"_dataSourceListenFuncts": [],
"disableStateStoring": false,
"_statusParams": {},
"uniqueID": "uniqueID_38",
"canBeUsedAsSource": true,
"_cleanFuncs": [
null
],
"dragging": false,
"dndEventsRegistered": true,
"currTime": 0,
"currState": "stop",
"songLength": 0,
"timeStep": 250,
"ctrl": {},
"ctrlsForTimeUpdate": [],
"ctrlsForValueUpdate": [],
"isSeeking": false,
"isVolumeChanging": false
}
https://i.imgur.com/dBdF3Qj.png
and I cannot find a way to access that object.
Additionally, I attempted to get around this by directly querying the document to get the volume slider control... but its controlClass is undefined somehow.
Code: Select all
try {
console.log(this);
var volumeDiv = window.q('div[data-id=player-volumebar]');
var slider = volumeDiv.controlClass;
//HTML element as expected
console.log(volumeDiv);
//undefined
console.log(slider);
}
catch (err) {
console.error(err);
}
Also, unrelated, but it seems like the asJSON method for that global player object causes a crash. (log ID EF9B1F35)