New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

change default thumbnail

  • David Barroco
  • Topic Author
  • Visitor
  • Visitor

change default thumbnail was created by David Barroco

Hello,

I'm using v1.2.3 of the component.
When no thumb is indicated it automatticaly set's it up to img.youtube.com/vi/default.jpg

I was wondering where do I change this default behaviour to another url of my choice?

thanks
David
11 years 7 months ago #2872

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: change default thumbnail

This is not set to be optional in our current version. But, I can guide you to get this...

For Back-end,

1. Just open {root} / administrator / components / com_allvideoshare / models / videos.php

2. Search for
$row->thumb = 'http://img.youtube.com/vi/default.jpg';
3. And just replace the image path with your own.

For Front-end,

1. Just open {root} / components / com_allvideoshare / models / user.php

2. Search for
$row->thumb = 'http://img.youtube.com/vi/default.jpg';
3. And just replace the image path with your own.

Hope, this fixed your issue ...
Last edit: 11 years 7 months ago by Administrator.
11 years 7 months ago #2873

Please Log in or Create an account to join the conversation.

  • David Barroco
  • Topic Author
  • Visitor
  • Visitor

Replied by David Barroco on topic Re: change default thumbnail

Hi, thanks for your answer.

I could not quite get it ok.

The url i'm using is valid when written in browser, however in newly created vids it get's broken.

i'm using jgp aqs well, size it's not the same as the original, could that be it?
11 years 7 months ago #2875

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: change default thumbnail

Could you mail those files to This email address is being protected from spambots. You need JavaScript enabled to view it. ? So, I can edit and sent it on my own.
11 years 7 months ago #2877

Please Log in or Create an account to join the conversation.

Time to create page: 0.115 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies