ThinkSmall
Forum Replies Created
-
Forum: Plugins
In reply to: [SlimFast - YouTube Lazyloader] Its not embeding videos url from custom fieldHi Arun,
Thanks for your message.
There must be something from the custom field or the shortcode that doesn’t work properly with the way WordPresss transforms urls into embeds…Have you tried pasting the url directly into the text editor, in visual mode?
Div tags should also be able to pick up the video. For instance, the code below should work if you paste it to the source code. Could you please try and let me know?
<div>
https://www.youtube.com/watch?v=neV3EPgvZ3g
</div>Cheers
- This reply was modified 5 years, 9 months ago by ThinkSmall.
- This reply was modified 5 years, 9 months ago by ThinkSmall.
- This reply was modified 5 years, 9 months ago by ThinkSmall.
Hi @jh20001
Ok. Someone flagged me a similar issue with my plugin (check the website in my profile if you’re interested) and I’ve been able to fix it, so I might have pieces of answers.The grey thumbnail appears when the requested thumbnail doesn’t exist. Some formats are missing for some videos, and therefore you see something like that https://img.youtube.com/vi/K5TuXDPdzL8/sddefault.jpg
The most reliable format is the hqdefault.jpg > https://img.youtube.com/vi/K5TuXDPdzL8/hqdefault.jpgFor the white space, it looks like a css issue, but not sure…
CheersForum: Plugins
In reply to: [SlimFast - YouTube Lazyloader] Suggestion BoxHi shirtguy!
Regarding the bug with some of the video placeholders, I’ve been able to identify and fix the issue. I just released SlimFast 1.0.1 for that purpose. Can you upgrade and let me know?
The thumbnail was served by YouTube’s ssdefault format. Unlike what its name let us think, this format doesn’t exist for all videos. We’re now using the hqformat, which is much more reliable. This format is a smaller (480px vs 640 px width), which makes images even lighter. I’ve reduced the default video size to 560px to avoid bluriness.
A big thank you for flagging this issue went under the radar of v1.0.
Now about your greatest wish… I had considered pros and cons about offering to create local copies of thumbnails instead of serving them directly from YouTube. I’ve seen it on the Lazy Load for Videos plugin. If thumbnails are on your server, you are basically free to cache them as you wish. I did some tests to evaluate the added value and balance it with the extra code it would require and decided not to go that path, at least for now!
Happy to get other suggestions in this box. I might not be able to satisfy them all, but the feedback is always useful to move forward.
ps: what’s your website?
Hello @jh20001
Can you give some example of Youtube videos where you get grey thumbnails or white space?Forum: Reviews
In reply to: [SlimFast - YouTube Lazyloader] It Works!Thanks for your comment and the 1st 5 stars! Happy you like it.