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

Thumbnail problems

  • Dave
  • Topic Author
  • Visitor
  • Visitor

Thumbnail problems was created by Dave

I hope you can help.

I have a page containing the player module and below it the gallery module.

When I select a thumbnail to play, it 'transfers' to the player, but the thumbnail disappears from the page.

Also the thumbnails have black sections above and below the video (Youtube).

Please can you help?

I'm running on localhost at moment, so cannot provide login details.
7 years 11 months ago #8203

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

  • Posts: 2474
  • Thank you received: 1451

Replied by Administrator on topic Re: Thumbnail problems

When I select a thumbnail to play, it 'transfers' to the player, but the thumbnail disappears from the page.

Only the thumbnail related to the video selected should disappear. Kindly follow the solution below if you want to keep the thumbnails ever.

- Open {root}/modules/mod_allvideosharegallery/helper.php

- Locate the function 'getItems'

- Find the following code and remove it,
if(JRequest::getCmd('slg')) {
    $query .= " AND slug!=" . $db->Quote(str_replace(":", "-", JRequest::getVar('slg')));
}
- Save the changes and try now.

Hope, this solved your issue.


Also the thumbnails have black sections above and below the video (Youtube).

- For YouTube videos, we get images from YouTube website itself. So, the black sections should come from the images itself. You can replace these auto-generated images by editing the videos under Components => All Video Share => Videos
Last edit: 7 years 11 months ago by Administrator.
7 years 11 months ago #8205

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

  • Dave
  • Topic Author
  • Visitor
  • Visitor

Replied by Dave on topic Re: Thumbnail problems

Thanks for the quick reply.

I deleted the code, but now when clicking on the thumbnail, the video doesn't play. It doesn't appear in the player module position.

Understood about the Youtube images (ta).
7 years 11 months ago #8207

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

  • Dave
  • Topic Author
  • Visitor
  • Visitor

Replied by Dave on topic Re: Thumbnail problems

Sorry it works. I switched auto detect video back on.
7 years 11 months ago #8208

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

Time to create page: 0.116 seconds

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