How do I style the thumbnails of embedded YouTube videos?

2 replies · opened Jul 4, 2019

RrebazkhoshnawJul 4, 2019

Hi,

In the website below, I am trying to embed videos from youtube without using Iframe because Iframe restricts me from having custom thumbnails, play icons or titles.
As you discover, the videos are from Youtube, but the only problem with them is when I play them using a mobile phone browser, it takes me to the Youtube APP to watch it.

So, I want to have a customized thumbnail for the videos including the play buttons and titles, and I want it to be played inside the browser, on my website instead of taking the user to the Youtube App.
this is the link for the website: mor.canvas.krd.

SSemicolon WebSTAFFJul 5, 2019

Hello,

Find the following code in the js/functions.js File inside the lightbox: function() Function Block:

disableOn: 600,

and replace it with:

disableOn: 0,

This should definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

RrebazkhoshnawJul 11, 2019

it works! thank you so much for your help

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard