zirconx
Forum Replies Created
-
Forum: Plugins
In reply to: [WP YouTube Lyte] Feature request – load high res thumbnailsI was getting the low-res thumbnail.
All my videos are in 1080p, so I know there will always be a maxresdefault.jpg, so I changed the code on my site to always reference that.
I still think there must be some way to autodetect if there is a maxresdefault, and if so use it, else fall back to the low res. Fetch the maxresdefault, then use JavaScript to see if it worked or not, then load the low-res if necessary.
Forum: Plugins
In reply to: [WP YouTube Lyte] Feature request – load high res thumbnailsHi Frank. I installed the dev version, and I added #hqThumb=1 to one of my videos but the thumbnail wasn’t high res for some reason. In the process of trying the new plugin I lost all my custom changes so had to spend a half hour figuring that out again, ugh! Totally my fault though.
Your proposed change, adding #hqThumb on the URL, would require me to go back and edit all my old posts. It also adds an extra step when adding new videos. I still think a setting in the UI or even in a config file would be a better approach.
Forum: Plugins
In reply to: [WP YouTube Lyte] Feature request – load high res thumbnailsfuttta, thanks for looking into this. What about doing something like this?
img src=”…/maxresdefault.jpg” onerror=”this.src=’…/0.jpg’
I wrote about onerror on my blog a few weeks ago: http://www.stillnetstudios.com/onerror-img-image-tag/
YouTube is returning a 404 code when the image doesn’t exist so I think this will work.
Forum: Plugins
In reply to: [WP YouTube Lyte] How to get HD to play by default?I replaced this:
hd=”+hidef+qsa+with:
vq=hd720″+qsa+in lyte-min.js and now the HD embedding is working.