I am trying with provided javascript method but I am not getting required output.
I am using this code in useEffect hook
window.addEventListener('load', () => {
window.videoask.loadModal({
"kind": "widget",
"url": "https://www.videoask.com/flhsisbiv",
"options": {
"widgetType": "VideoThumbnailSmall",
"text": "Primer entreno gratis",
"backgroundColor": "#D3FF54",
"position": "bottom-right",
"widgetTarget": 'body',
"dismissible": false
}
})
})
But output I am getting is like image below
![](https://uploads-eu-west-1.insided.com/typeform-en/attachment/01a25917-7a8b-432a-b489-36ea147bce6c.png)
Best answer by Grace
View original