Posting App Video to iTunes Connect (iOS8+)
It is a pain every time I drag my video I still get the same error message: The app video preview dimensions should be: 1334x750, 750x1334.
Then I found this post. But the it does not share code details, so I got my time to debug the messy itunesConnect js.
It took about 20 minutes, so as I want to save your time guys, here the trick:
Look for dorp_directive.js and set the breakpoint at the red line
var loadFunc = function() {
//console.log("dummy video loaded");
var width = this.videoWidth;
var height = this.videoHeight;
var dimensionsArr = new Array();
var expectedW, expectedH, expectedDimensionsArr;
for (var i = 0; i < validSizesForDevice.length; i++) {
expectedDimensionsArr = validSizesForDevice[i].split("x");
expectedW = parseInt(expectedDimensionsArr[0]);
expectedH = parseInt(expectedDimensionsArr[1]);
if (expectedW === width && expectedH === height) {
scope.continueWithUpload(file, url, 'videoDropped');
return;
}
}
change the value in the local array expectedDimensionsArr so you can successfully pass the check and hit the scope.continueWithUpload routine call.
var loadFunc = function() {
//console.log("dummy video loaded");
var width = this.videoWidth;
var height = this.videoHeight;
var dimensionsArr = new Array();
var expectedW, expectedH, expectedDimensionsArr;
for (var i = 0; i < validSizesForDevice.length; i++) {
expectedDimensionsArr = validSizesForDevice[i].split("x");
expectedW = parseInt(expectedDimensionsArr[0]);
expectedH = parseInt(expectedDimensionsArr[1]);
if (expectedW === width && expectedH === height) {
scope.continueWithUpload(file, url, 'videoDropped');
return;
}
}
change the value in the local array expectedDimensionsArr so you can successfully pass the check and hit the scope.continueWithUpload routine call.
Hope this is helpful.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home