I have a videoask on my website, but I would like it to appear after a few seconds on the web. Can this be controlled from the script somehow? Does anyone know a bit of programming or if this is possible. It is that what I do not want is that it loads immediately when a user accesses the web
How to delay the videoask script on my website
Best answer by Grace
Hey
Is your videoask embedded as a widget or an iframe embed?
We have an Advanced Embed Options page on the Help Center which has some tips for customizing embeds, and there’s an example of how to delay the widget in the Code Snippet Library, here’s the code you can use:
<script src="https://www.videoask.com/embed/embed.js"></script>
<script>
var myFunc = function() {
window.videoask.loadEmbed({
"kind": "widget",
"url": "https://www.videoask.com/f2e686p74",
"options": {
"widgetType": "VideoThumbnailExtraLarge",
"text": "Talk to me",
"backgroundColor": "#FF3C4C",
"position": "bottom-right"
}
})
}
window.onload = function() {
setTimeout(myFunc, 3000);
console.log("loaded");
}
</script>
You’ll need to swap the videoask URL in the code so it’s displaying your videoask rather than the example one we have here.
Hopefully that’s what you’re looking for, but if not let us know and maybe some other creators have set up something similar! 😊
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.