WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP YouTube Lyte

High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.

1.4.2

  • Bugfix: Playlists in rss-feeds were broken
  • Bugfix: YouTube-link under a playlist was wrong
  • Improvement: example code in lyte_helper.php to also parse http-youtube-links now only triggers if the link is on a new line
  • Tested with WordPress 3.9

1.4.1

  • set interval for captionscheck to 30 days

1.4.0

  • new: if microdata is enabled, check if captions are available and if so add the accessibilityFeature=captions markup. Gracefully contributed by Benetech
  • bugfix: widgets with youtu.be short URL's were broken (as observed by Robert of audio-times.com.
  • bugfix: in some cases iframe size on mobile was not correct (reported by David of webquarry.com.
  • bugfix: mobile rotation handled more efficiently (based on feedback from Skyfield

1.3.3

1.3.2

  • Added playlist support in the WP YouTube Lyte widget (forget to add it really, thanks to Ed Dingwall to remind me)
  • Added an alternative lytesprite version, created by Claes from PCPLAY.se. To switch, rename lyte/lytesprite.png to lyte/lytesprite_orig.png and then rename lyte/lytesprite_claes.png to lyte/lytesprite.png.
  • Fixed some PHP notices in widget.php

1.3.1

1.3.0

  • WP YouTube Lyte now has an API to allow its behavior to be changed, with extensive examples in lyte_helper.php_example
  • Support for higher quality thumbnails by adding #hqThumb=1 to httpv-link
  • You can disable microdata on a per-video level by adding #noMicrodata=1 to the httpv-link when microdata is enabled.
  • Checkbox on admin-page to flush WP YouTube Lyte cache (which holds title, description, ... from YouTube)
  • added a lyte_preparse function to be used by themes/ plugins (input is the YouTube ID)
  • improvement: added opacity to the play-button when not hovered over
  • bugfix: suppress error messages if yt_resp does not contain all data
  • bugfix: solve PHP notice for pS-array in options.php

1.2.2

  • bugfix: apply sanitize_text_field to microdata description- and title-fields to escape e.g. quotes
  • bugfix: added CSS resets to better avoid CSS-conflicts with themes (as reported by longtime user FruityOaty)
  • bugfix: fallback for missing wp_trim_words function in wordpress < 3.3 (as reported by Armude)
  • bugfix: check if the data from cache/ youtube is valid before trying to extract info from it as reported by Collin
  • improvement: better support for RSS/ ATOM feeds as requested by drreen
  • added item in FAQ on how to force normal YouTube links to be parsed by WP YouTube Lyte as well
  • tested with WordPress 3.6 beta 1

1.2.1

  • bugfix: if e.g. modernizr added "audio" as class to the html element, wp youtube lyte got confused. reported by Peco of dubtechnoblog.com and Delphuk
  • tested succesfully with WordPress 3.6 (development-version)

1.2.0

  • LYTE embeds are now fully responsive
  • automatic inclusion of scheme.org microdata (VideoObject)
  • even better performance (less requests; was 5, now 3)
  • updated to current YouTube look & feel
  • less JavaScript, more CSS
  • bugfix: all lyte-output is now removed from excerpts

1.1.9

1.1.8

1.1.7

  • bugfix: 1.1.6 broke excerpts, as reported by Franz of noobtech.at

1.1.6

  • bugfix: remove noscript-stuff from the_excerpt as requested by wordpressvoxbox13
  • bugfix: switch HTTPS detection to is_ssl() WordPress function to avoid breakage on MS IIS
  • removed the "DoNotTrack" bonus feature due to added complexity, at least one bug and the fact that WP DoNotTrack does a better job at this

1.1.5

1.1.4

  • bugfix: audio-only youtube was broken due to changes at YouTube (thanks for reporting Adrian!)
  • bugfix: playlist embedding was somewhat broken (again due to changes at YouTube)
  • bugfix: httpv- or httpa- links were only found if the v-parameter was at the beginning of the querystring (as discovered by Mye)
  • added 2 new widget sizes (250X200px and 400X333px)

1.1.3

1.1.2

  • bugfix: during development of 1.1.0 the javascript to lazy load the lyte player got lost somehow, readded (now in lyte(-min).js)
  • performance: replaced the external stylesheet (lyte.css) with inline javascript that adds an internal stylesheet to the head of the document (thanks for pushing me Collin!

1.1.1

1.1.0

  • updated LYTE-player UI: larger display of preview image, changed look of title placeholder, updated controls image
  • new: added support for "Infinite Scroll" as proposed by "der Tuxman" and Olivier
  • new: added beta-support for YouTube's JS API as requested by Yun
  • performance: remove double DOM-lookups in javascript, hat tip Yun
  • annoyance-avoidance: check for "Karma Blocker" addon and warn, based on feedback from Leona
  • translation: added Romanian, thanks to Alexander and Web Hosting Geeks
  • bugfix: 2nd video with start or showinfo parameters inherited the ones from the 1st one as well as reported by Josh D
  • bugfix: marked lyte img border css as !important
  • bugfix: moved inline javascript (for each lyte-div) to the footer of the page to solve conflict with some jQuery plugins in MSIE as reported by Yun
  • bugfix: set autohide to false for audio-only embeds

1.0.0

  • new: also works on (manual) excerpts; just add a httpv link to the "excerpt" field on the post/page admin (based on feedback from Ruben@tuttingegneri)
  • new: if youtube-url contains "start" or "showinfo" parameters, these are used when playing the actual video. This means that you can now jump to a specific time in the YouTube video or stop the title/ author from being displayed (based on feedback from a.o. Miguel and Josh D)
  • update: javascript now initiates either after full page load or after 1 second (whatever comes first), thus avoiding video not showing due to other requests taking too long
  • update: bonus feature stops lockerz.com tracking by addtoany (you'll still want to hide the "earn pointz" tab though)
  • bugfix: prevent the playing video to be in front of e.g. a dropdown-menu or lightbox (thanks to Matt Whittingham)
  • bugfix: solve overlap between player and text when option was set not to show links (reported by Josh D)

0.9.4

  • security: WP YouTube Lyte now works entirely in https if your blog is running in https
  • performance (js/ page rendering): initiate the javascript a little later (at "load" instead of "DOMContentLoaded") to speed up page load (might need further optimizations)
  • performance (php): have the plugin only include/ execute php when needed
  • updated donottrack.js to match the version used in my WP DoNotTrack-plugin. if want to tweak the way donottrack.js functions, you migth want to check that plugin out (and disable the option in WP YouTube Lyte)
  • bugfix: small tweak in css to force transparency of play-button

0.9.3

  • Bugfix: donottrack.js incorrectly handled document.write, causing javascript that depends on it to malfunction (reported by S.K., thanks for helping out!)
  • Bugfix: moved inline javascript into a function expression to protect values (d=document) from other javascript that might use global variables (thanks to Eric McNiece of emc2innovation.com for reporting & investigating)
  • Bugfix: made changes to widgets to allow a video to appear both in a blog post and in the widget bar and to allow httpv-links in there (although httpv is not needed in widgets) based on feedback from Nick Tann
  • Bugfix: changed priority of add_filter to ensure wp-youtube-lyte can work alongside of the new Smart Youtube Pro v4 (although this might become a problem again if/when a new version of Smart Youtube arrives)
  • Languages: added a full French translation (thanks Serge of blogaf.org)

0.9.2

  • solved bug with W3 Total Cache where the URL for lyte-min.js got broken (thanks to Serge of blogaf.org for reporting and helping figure this out)
  • some work on the bonus feature

0.9.1

  • even better xhtml-compliancy
  • fixed readme.txt problems

0.9.0

  • you can now change player size from the default one (as proposed by Edward Owen); httpv://www.youtube.com/watch?v=_SQkWbRublY#stepSize=-2 or httpv://youtu.be/_SQkWbRublY#stepSize=+1 will change player size to one of the other available sizes in your choosen format (4:3 or 16:9)
  • added a smaller 16:9 size and re-arranged player sizes on the options-screen
  • Bugfix: changed lyte-div ID to force it to be xhtml-compliant (ID's can't start with a digit, hat tip: Ruben of ytuquelees.net
  • Bugfix: added version in js-call to avoid caching issues (lyte-min.js?ver=0.8.1) as experienced by some users and reported by Ryan of givemeshred.com
  • Upgrade to the "bonus feature" to fix things (consider this beta)
  • Languages: added Hebrew (by Sagive SEO) and Catalan (by Ruben of ytuquelees.net) translations and added completed Spanish version (thanks to Paulino Brener from Social Media Travelers)
  • tested succesfully on WordPress 3.3 (beta 2)

0.8.0

  • added support for playlists
  • added support for HD
  • dropped support for the legacy YouTube embed-code
  • updated UI elements to match new, dark YouTube player style
  • updated player sizes to match YouTube's
  • added new translations: Spanish (front-end strings, thanks to Paulino Brener @Social Media Travelers) and German (complete, by "der Tuxman")

0.7.3

  • sdded support for youtu.be links
  • added sl_SI translation (thanks Mitja MiheliČ @arnes.si)
  • load donottrack js in https if needed (thanks Chris @campino2k.de)
  • tested & confirmed to work perfectly with wordpress 3.2.1

0.7.2

  • fixed a bug introduced in 0.7.1 which caused httpv-links that were not on newline, not to be turned into a lyte-player
  • added audio as option for widgets as well (consider this beta, not thoroughly tested yet)

0.7.1

  • re-minized lyte-min.js (there's lyte.js for your reading pleasure though)
  • thumbnail image in noscript-tags now inherits size of div (to keep it from messing up the layout when JS is not available, e.g. in a feedburner-feed)
  • the html5 version of the audio-player now is a bit higher (was 27px, now 33px) to allow scrolling through the clip
  • the html-output of the plugin now validates against xhtml 1.0 transitional (thanks for the heads-up Carolin)
  • text in frontend (i.e. what your visitors see) is translated into Dutch & French, corrections and other translations are welcome

0.7.0

  • new feature (as seen on Pitchfork): audio-only YouTube embeds (use "httpa://" instead of "httpv://")
  • merged lyte-min.js and lyte-newtube-min.js into one file
  • added wmode=transparant when video is played in flash-mode

0.6.5

  • updated images for html5-version to new look&feel
  • disabled "watch later" by adding variable "probably_logged_in=false" to youtube embed
  • changed lyte/lyte.css (move margin from .lt to .lyte) to allow changes to positioning of player
  • changed name of js-variable in options.php to solve small bug in rss display
  • added an (experimental) bonus feature

0.6.4

0.6.3

  • only load jquery plugins on this plugin's options page
  • change thumbnail positiong slightly (5 pixels up)
  • tested on WordPress 3.0.3

0.6.2

  • bugfix: the javascript in widgets.php caused a wp youtube lyte widget not to be shown in the sidebar if no wp youtube lyte was present in the main content
  • load jquery plugins in admin screen using wp_enqueue_script rather then adding them "manually"
  • store the selected feed on the admin-page in a cookie to show the same feed next time

0.6.1

  • widget size can now be set (3 sizes available, to be specified for each widget individually)
  • admin-page now contains links to most recent info (blogposts) on WP YouTube Lyte (and optionally WordPress and Web Technology in general) using the excellent jQuery-plugin zrssfeed
  • bugfix: removed CDATA-wrapper from javascript as WordPress turned ]]> into ]]&gt; which broke the html (which in turn broke syndication in e.g. planets)

0.6.0

  • There now is a WP-YouTube-Lyte widget which you can add to your sidebar (see under "Appearance"->"Widgets"), as requested by the fabulous fruityoaty
  • The thumbnail is now stretched to use as much of the player as possible (thanks to css3's background-size:contain directive, which works in all bleeding edge browsers)
  • Updated the "play"-button to fit the new YouTube style

0.5.3

  • we now wait for the DOM to be fully loaded (except for MS IE, where we have to wait for window.load) before kicking in, which means wp-youtube-lyte now functions correctly in Opera
  • fixed a bug where lyte's javascript would overwrite the main div's class-name (causing css-issues in some themes)
  • there's new test-data on my blog that shows how fast wp-youtube-lyte really is.

0.5.2

  • fixed a bug where WordPress' the_excerpt function showed wp-youtube-lyte javascript as text in excerpts
  • fixed problem where google tried to index e.g. options.php (which produced ugly php errors)
  • fixed some css-related bugs, do contact me (see FAQ) if LYTE-player isn't rendered correctly in your wordpress-theme!
  • moved more css out of javascript to the static css-file

0.5.1

  • added new versions of images, fitting the player width (no more ugly rescaling)
  • moved a lot of css from javascript to a css-file which gets loaded on-the-fly

0.5.0

0.4.1

  • add fullscreen-button to player
  • disable size in options if html5 is selected
  • move player_sizes.inc to player_sizes.inc.php

0.4.0

  • add options to change player size (does not apply to html5-version)
  • noscript optimizations: show image (typically useful in rss-feeds), no text if config is to show links beneath lyte-player

0.3.5

  • changed function-name in options.php to avoid errors like "Fatal error: Cannot redeclare register_mysettings()"

0.3.4

  • tested succesfully on the brand new wordpress 3.0 release
  • css changes to avoid themes messing up lyte-player layout
  • minor text tweaks

0.3.3

0.3.2

  • fixed misc. readme.txt markdown issues (again)

0.3.0

  • added very experimental support for embedded html5 video (see faq)

0.2.2

  • improved the html of the form in options.php for better accessibility

0.2.1

  • 0.2.0 was broken (options.php M.I.A.), 0.2.1 fixes this

0.2.0

  • Added a simple admin-page to allow administrators to choose if links to YouTube and Easy YouTube are added or not
  • Added some bottom-margin to the lytelinks div

0.1.4

  • forgot to update version in the php-file for 0.1.3, causing the update not being fully propageted

0.1.3

  • small bugfix release (opacity of the play-button in Chrome/Safari)

0.1.2

Accessibility enhancements (hat tip: Ricky Buchanan):

  • added alt attributes to images
  • moved youtube link from noscript to div
  • added link to easy youtube

0.1.1

  • Changed meta-info in readme and php-file

0.1

  • Initial version

Requires: 2.9 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-18
Downloads: 199,173

Ratings

4 stars
4.6 out of 5 stars

Support

3 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 50,2,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,3,3
100,1,1 100,1,1
0,1,0 100,2,2 100,5,5
100,3,3 100,1,1 100,1,1 100,2,2
100,1,1
100,2,2
100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,3,3 100,2,2 100,1,1 0,1,0 0,1,0
100,1,1 100,3,3 100,1,1
100,2,2 100,2,2 100,3,3 100,3,3 100,2,2 100,1,1
80,5,4 67,3,2 100,1,1
50,2,1
75,4,3 0,1,0 75,4,3
100,3,3 100,1,1 100,3,3
100,1,1
100,1,1 100,2,2 100,3,3 100,2,2
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 67,3,2
100,1,1
100,1,1
100,1,1
100,1,1