Open shizzledizzleeee opened 1 year ago
In non-monetized channels, there are four steps, while in monetized channels, there are 6 steps. So the code hangs/freezes while uploading video to the monetized channels because the code doesn't favor some steps.
As you can see in the screenshots above, extra steps are:
Monetization: This is a window where you enable monetization. Ad suitability: Here you select a checkbox and then click the "Submit ratings" button.
Name: TypeError
Message: Cannot read properties of null (reading 'dispatchEvent')
File name: undefined
Stacktrace: TypeError: Cannot read properties of null (reading 'dispatchEvent')
at click (<anonymous>:78:17)
at DraftModal.selectMadeForKids (<anonymous>:177:13)
at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13) TypeError: Cannot read properties of null (reading 'dispatchEvent')
at click (<anonymous>:78:17)
at DraftModal.selectMadeForKids (<anonymous>:177:13)
at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13)
m=core:1235 Name: TypeError
Message: Cannot read properties of null (reading 'dispatchEvent')
Error args: [{"source":"unhandledrejection"}]
File name: undefined
Stacktrace: TypeError: Cannot read properties of null (reading 'dispatchEvent')
at click (<anonymous>:78:17)
at DraftModal.selectMadeForKids (<anonymous>:177:13)
at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13) TypeError: Cannot read properties of null (reading 'dispatchEvent')
at click (<anonymous>:78:17)
at DraftModal.selectMadeForKids (<anonymous>:177:13)
at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13)
It doesn't click the checkbox and and submit ratings button which is required by Monetized Channels.
I think we need "AdSuitabilityModal" Class that represents Ad Suitability Modal, and it should only click a checkbox and wait for "Submit ratings" Button to be active, and then click it, Is this doable?
It's only working on non-monetized channels? Do you have updated one for publishing on Monetized channels?
Images: 1: https://prnt.sc/Qpd0Eroq-z9y 2: https://prnt.sc/EMMB8RLcMKly
Monetized channels have extra steps, So are you able to check on that?
In non-monetized channels, there are four steps, while in monetized channels, there are 6 steps. So the code hangs/freezes while uploading video to the monetized channels because the code doesn't favor some steps.
As you can see in the screenshots above, extra steps are: