Skip to main content

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

 

its appearing bottom left of the page.

 

Hey @sonikjim just checking this one for you! 


Hey again @sonikjim 

It should work with the widget code from your share and embed tab, are you copying the code directly from there?


Reply