We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Higher resolution for video thumbnail? (SOLVED) | Forum

Victor
Victor Sep 27 '15
Hi,


I've been searching for the code that gets the video thumbnails (from YouTube in my case) to display the thumbnails on the video page, newsfeed, etc..


The problem is that it uses the default Youtube thumbnail which is only 120x90 px and the theme we're using for oxwall is showing the images on the video page in 277x240 px, which renders the images very badly.


I think this issue could be fixed if I could just change so that oxwall fetches the hqdefault.jpg (480x360 px) from Youtube instead of the default.jpg, but I can't find the line of code that does it.


Would be awesome if someone could help me out!


Best regards,

Victor

The Forum post is edited by Victor Sep 27 '15
SongPhi
SongPhi Sep 27 '15
Hi, give this plugin a try, https://github.com/...spvideolite_v201.zip

After installed, access its setting, then change the default youtube thumbnail quality, good luck


Victor
Victor Sep 27 '15
Awesome, thank you for the reply and great work with that module! It works like a charm. :)


Best regards,

Victor

SongPhi
SongPhi Sep 28 '15
I'm glad that helps :)


Cheers,

Steven Keenan
Steven Keenan Sep 28 '15
I installed that plugin but doesn't show me the Thumbnail quality drop down menu???
SongPhi
SongPhi Sep 28 '15
Hi Steven,


I have took a quick visit to your site. It seems you are still using old version (v1.2.2) of the plugin.


Please replace it with latest version v2.0.1 - this is yet the only version introduced YouTube thumbnail quality setting.


view-source:https://www.purelyonlineracing.com/video/view/508


you would see:

...

<script type="text/javascript" src="https://www.purelyonlineracing.com/...js/spvideo.js?v1.2.2"></script>

...


Downloads can be found here: https://github.com/SongPhi/spvideolite/releases/


If it was already latest then you need to refresh the cache (turn DEV_MODE true, then refresh the page, turn DEV_MODE false), otherwise replacing by either ftp-ing override the old files or uninstall+delete the old one then upload the new one.


Auto-update not working yet, because the plugin is pending approval on store. Also a license is needed for auto-updating.

Darryl B Leader
Darryl B Sep 28 '15
Very happy to see this coming back. I'm guessing that when it does show in the store that I will need to download that one, and upload it to have the auto update capabilities. I followed your instruction, and removed my old version. I love having this ability.
Darryl B Leader
Darryl B Sep 28 '15
The only issue I am seeing is that my drop down top menu want expand on the "Add Video" page. Everything seems to work well other than that. I have the Ver. 2.0.1 loaded.
Steven Keenan
Steven Keenan Sep 29 '15
Thanks SongPhi, i will give it a go.