Question
How to run a javascript from actions of adobe animate html5 project?
Hello everyone. Im trying to understand how to run this java code to run ad from adobe animate actions panel. I meen there is something like a gate from run this script from actions panel of html5 adobe aniate project to this script wich i can add later to html5 page after publish from animate?
ysdk.adv.showRewardedVideo({
callbacks: {
onOpen: () => {
console.log('Video ad open.');
},
onRewarded: () => {
console.log('Rewarded!');
},
onClose: () => {
console.log('Video ad closed.');
},
onError: (e) => {
console.log('Error while open video ad:', e);
}
}
})