UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Get Custom Video Thumbnail in ES Mobile Template

Paul Murray · ·
4:33 PM Monday, 26 June 2017
Normal
Hi SI Team

You very kind helped me amongst other things pull a specific image when a video thumbnail can not be found in ES.

https://stackideas.com/forums/posting-vimeo-only-on-sites-i-choose

This is the relevant bit:

es, you can change the image path from this file as well.

Try download my attached file then replace into your current template file location.

Original path : JoomlaFolder/components/com_easysocial/themes/wireframe/videos/default/item.php

Template override path : JoomlaFolder/templates/YourCurrentTemplate/html/com_easysocial/videos/default/item.php


I am guessing that this or similar is the code involved:


defined('_JEXEC') or die('Unauthorized Access');
$videoThumb = $video->getThumbnail();

if (empty($videoThumb)) {
$videoThumb = 'https://www.finalbug.net/images/LogosCO/Video-Thumb-Wildcard.jpg';
}
?>


And it works perfectly on Desktops in the Elegant Tempalte.

But not on mobiles in the ESmobile Tempalte

Could you please help me to get this to work for mobiles as well?

This is I believe the last piece in the puzzle of finally getting my shop to work.

all the best

Paul
The replies under this section are restricted to logged in users or users with an active subscription with us