By Paul Murray on Monday, 26 June 2017
Posted in Groups
Likes 0
Views 743
Votes 0
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
You would need to copy that file into /templates/esmobile/html/com_easysocial/videos/default/item.php
·
Monday, 26 June 2017 21:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Bingo. Works a treat.

Many thanks

Paul
·
Tuesday, 27 June 2017 00:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Tuesday, 27 June 2017 10:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post