Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: variable {field_name:thumbnail_large} not working for vimeo.
Status | Resolved |
Add-on / Version | Reel 1.3.2 |
Severity | |
EE Version | 2.7.3 |
Matthieu Boisjoli
Jul 08, 2015Hello,
I tried {field_name:thumbnail_large} for both(vimeo and youtube) and it looks like the src of vimeo isnt rendering anything. Also, I find this pretty odd because for vimeo when I put {field_name:thumbnail_small} it works perfectly and output this kind of src : http://i.vimeocdn.com/video/512312312_100x75.jpg
So I have two questions actually :
1- How can I fix {field_name:thumbnail_large} for vimeo?
2- Is it possible to have a variable to access the original thumbnail, especially for vimeo? (for example, vimeo, without the “_100x75” so it looks like this “http://i.vimeocdn.com/video/512312312.jpg”)
Thx
BoldMinded (Brian)
Comment has been marked private.
Matthieu Boisjoli
Hello, I updated and the problem seems to persist. With vimeo, no picture is rendering when I do {field_name:thumbnail_large}. Also, did you had time to check for my second answer, which is the one I really need for my project.
Thx
BoldMinded (Brian)
How are you using these variables? Inside an entries tag as a property on the field, or part of the {exp:wyvern_video} tag?
Matthieu Boisjoli
I am using them inside a {exp:channel:entries} tag. So this is how I do it :
{exp:channel:entries channel=”my_channel_videos” disable=”categories|member_data|trackbacks|comments” dynamic=”no”} {field_name:thumbnail_large} {/exp:channel:entries}
BoldMinded (Brian)
The vimeo response I get doesn’t contain any thumbnails without a dimension attached, so I can’t provide http://i.vimeocdn.com/video/512312312.jpg.
BoldMinded (Brian)
Matthieu, are you sure you cleared your cache and re-selected the video by clicking change video, then saving the entry? I was able to replicate the missing thumbnail_large variable, then made changes to fix it and confirmed it now works inside of entries tags with that build I sent.
Matthieu Boisjoli
Let’s fix one problem at the time 😊
I put a vimeo on my channel field. Then, on my template, I simply do
{exp:channel:entries …….} {field_name:thumbnail_small} {/exp:channel:entries}
With this, it gives me this src here : http://i.vimeocdn.com/video/512312312_100x75.jpg If you go to your URL, and erase that “_100x75”, in other words, you enter this url : http://i.vimeocdn.com/video/512312312.jpg it actually gives you the fullest image. This is what I need, because I will fit the image with CSS.
So, is it possible to have something like this :
{exp:channel:entries …….} {field_name:thumbnail_full} {/exp:channel:entries}
to output the full image as in this url : http://i.vimeocdn.com/video/512312312.jpg
BoldMinded (Brian)
The API is not giving me that image URL, which means I’d have to add a regex to remove it. Can you use the larger image and downsize it another way?
Matthieu Boisjoli
That’s what I thought. It’d be nice if you add this new tag on next update! something like {field_name:thumbnail_full} or just {field_name:thumbnail} to get the “original” picture, tho I’m not sure it is an original.
I completely uninstall and then reinstall everything, it’s working great now. Thanks for that quick fix.
Also, I realized that everytime I installed your add-on, I always had issues with youtube API. Now I know how to fix it, but it can be perhaps useful for someone : I always need to go to the database, and add this sql : INSERT INTO
vero_dicaire
.exp_actions
(action_id
,class
,method
,csrf_exempt
) VALUES (NULL, ‘wyvern_video’, ‘load_youtube’, ‘0’); Otherwise, youtube is not giving any results. I know this is a bug already reported in another post but just to be sure, everytime I had to add this sql.Thank you very much for your time and your quick answers, everything is working fine now.
Yours truly,
Bae