When setting the size of the content, I can't make it display any larger that 1920x1080. I've tried fullscreen in the config.xml, I've tried getting the screen size and using what I get but I can't make the content stretch over the entire screen.
let resolutionWidth;
let resolutionHeight;
function getDisplaySize() {
console.log("--> Get Display Size");
// Check the screen width so that the AVPlay can be scaled accordingly
tizen.systeminfo.getPropertyValue(
'DISPLAY',
function successHandler(data) {
console.log("Display Size Data: ", data, " data String: ", JSON.stringify(data))
resolutionWidth = data.resolutionWidth;
resolutionHeight = data.resolutionHeight;
// updatePlayerCoords(resolutionHeight, resolutionWidth);
// initialize(config.url);
},
function errorHandler() {
resolutionWidth = window.innerWidth;
resolutionHeight = window.innerHeight;
initialize(config.url);
}
);
}
startSyncPlay: function() {
var start = null;
var syncinfo = {
"rectX" : 0,
"rectY" : 0,
"rectWidth" : resolutionWidth,
"rectHeight": resolutionHeight,
"groupID" : 5,
"rotate" : "OFF"
};
var onlistener = function(data) {
console.log("[start]data:" + data + "changed");
};
try {
start = webapis.syncplay.start(syncinfo,onlistener);
} catch (e) {
console.log("[start] call syncFunction exception [" + e.code + "] name: " + e.name + " message: " + e.message);
}
},
When setting the size of the content, I can't make it display any larger that 1920x1080. I've tried fullscreen in the config.xml, I've tried getting the screen size and using what I get but I can't make the content stretch over the entire screen.