Skip to main content
Answered

VideoAsk Widget

  • Oct 9, 2023 12:41 PM UTC
  • 14 replies
  • 231 views

Forum|alt.badge.img

The VideoAsk widget restarts video on any website interaction (any html element hover, page scroll etc.). 

Here’s the config. 

window.VIDEOASK_EMBED_CONFIG = {

"kind": "widget",

"url": "https://www.videoask.com/#####",

"options": {

"widgetType": "VideoThumbnailWindow",

"text": "",

"backgroundColor": "#F68D2E",

"position": "bottom-right",

"dismissible": true,

widgetTarget: '.anchor_it'

}

}

Here’s the website: https://vidico.com 

Best answer by Alous

@Grace you can close it, the issue was related to optimization plugin. 

View original

14 replies

Forum|alt.badge.img
  • Author
  • Explorer
  • Oct 9, 2023 12:41 PM UTC

Edit:
Here’s the website https://vidico.com 


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • Oct 9, 2023 1:55 PM UTC

Hey @Alous first up love your videoask! 

I don’t think I’ve seen a widget behave like this before, let me ask around the team and get back to you 😊


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • Oct 9, 2023 2:08 PM UTC

Hey @Alous it looks like it could be related to the anchor element

widgetTarget: '.anchor_it'

it seems like as you scroll it re-starts the video so wondering if you remove that whether it keeps autoplaying?


Forum|alt.badge.img
  • Author
  • Explorer
  • Oct 9, 2023 2:36 PM UTC

Hi @Grace , this is needed to hide the widget on mobile devices following a videoask guide/article. So I could hide it with css. If there is another way around it please let me know. Would be awesome to just pass a parameter in config something like hideOnMobile: true


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • Oct 10, 2023 8:06 AM UTC

Hi @Alous totally understand, let me see if there’s an alternative way to hide on mobile view or if there’s some way to stop the anchor from restarting the video 🙏


Forum|alt.badge.img
  • Author
  • Explorer
  • Oct 12, 2023 9:12 AM UTC

Hi @Grace any update for me? 


Forum|alt.badge.img
  • Author
  • Explorer
  • Oct 12, 2023 9:33 AM UTC

Hi @Grace, I’ve removed the anchor but it’s still restarts the video on any interaction. vidico.com 


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • Oct 12, 2023 9:53 AM UTC

Hi @Alous ok so it’s not the anchor that’s causing the issue 🤔 can I ask what website builder you are using?


Forum|alt.badge.img
  • Author
  • Explorer
  • Oct 12, 2023 12:56 PM UTC

@Grace hi, it's a custom theme, we don't use any builders. 


Phoebe VA
Typeform
Forum|alt.badge.img+5
  • Typeform
  • Oct 12, 2023 7:53 PM UTC

Hi @Alous, would you mind sharing the URL for the videoask that’s embedded on your site? We would like to test some things out on our end. 


Forum|alt.badge.img
  • Author
  • Explorer
  • Oct 12, 2023 8:10 PM UTC

Phoebe VA
Typeform
Forum|alt.badge.img+5
  • Typeform
  • Oct 12, 2023 9:23 PM UTC

Thank you @Alous!

 

I tested the URL with the widget embed code on a Squarespace built website and the video doesn’t restart on any interaction with the website. It might be something in the website code that is causing the video in the widget to restart with any interaction. But let us ask around the team a bit and we’ll get back to you. 😊


Forum|alt.badge.img
  • Author
  • Explorer
  • Answer
  • Oct 13, 2023 10:58 AM UTC

@Grace you can close it, the issue was related to optimization plugin. 


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • Oct 16, 2023 8:07 AM UTC

Awesome, thanks for keeping us updated @Alous and thanks for your help with this one @Phoebe VA 😁