{"id":297775,"date":"2026-05-01T17:08:39","date_gmt":"2026-05-01T17:08:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/liteplay\/"},"modified":"2026-09-21T07:38:47","modified_gmt":"2026-09-21T07:38:47","slug":"space-lightplay","status":"publish","type":"plugin","link":"https:\/\/gd.wordpress.org\/plugins\/space-lightplay\/","author":23465676,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"7.1.2","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Space Lightplay","header_author":"Vlad Zelinskyi","header_description":"Lightweight Gutenberg block for lazy-loading video embeds with a custom preview image and configurable Play button. Iframe loads only on click.","assets_banners_color":"8575db","last_updated":"2026-09-21 07:38:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.spacenerd.space\/","header_plugin_uri":"","header_author_uri":"https:\/\/www.spacenerd.space\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":383,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wpspacenerd","date":"2026-05-01 17:49:03","revision":3520547},"1.1.0":{"tag":"1.1.0","author":"wpspacenerd","date":"2026-05-20 00:43:49","revision":3538075},"2.0.0":{"tag":"2.0.0","author":"wpspacenerd","date":"2026-09-21 07:38:47","revision":3705048}},"upgrade_notice":{"2.0.0":"<p>Big update: Vimeo and self-hosted video, lightbox, autoplay when in view, start\/end time, end screen, a new Background video block, consent notice and HD local posters. Requires WordPress 6.5+. Existing 1.x blocks keep working.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3705086,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3705086,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3705086,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3705086,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3705086,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"space-lightplay\/background":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"space-lightplay\/background","version":"2.0.0","title":"Space Lightplay Background","category":"media","icon":"format-video","description":"YouTube, Vimeo or self-hosted video as a background, with any blocks on top. Loads only when in view.","textdomain":"space-lightplay","keywords":["background","video","cover","hero","youtube","vimeo"],"attributes":{"source":{"type":"string","enum":["youtube","vimeo","file"],"default":"youtube"},"videoUrl":{"type":"string","default":""},"videoId":{"type":"string","default":""},"vimeoHash":{"type":"string","default":""},"fileId":{"type":"number","default":0},"fileUrl":{"type":"string","default":""},"videoTitle":{"type":"string","default":""},"videoRatio":{"type":"string","default":""},"duration":{"type":"number","default":0},"startAt":{"type":"number","default":0},"endAt":{"type":"number","default":0},"preview":{"type":"string","default":""},"previewId":{"type":"number","default":0},"previewAuto":{"type":"boolean","default":false},"alt":{"type":"string","default":""},"priorityLoad":{"type":"boolean","default":false},"consent":{"type":"boolean","default":false},"consentRemember":{"type":"boolean","default":true},"consentText":{"type":"string","default":""},"panelBg":{"type":"string","default":""},"panelText":{"type":"string","default":""},"playerBg":{"type":"string","default":""},"overlayColor":{"type":"string","default":""},"overlayGradient":{"type":"string","default":""},"overlayOpacity":{"type":"number","default":50},"stash":{"type":"object","default":{}},"playOnMobile":{"type":"boolean","default":true}},"supports":{"html":false,"anchor":true,"align":true,"shadow":true,"color":{"text":true,"link":true,"background":false,"__experimentalDefaultControls":{"text":true}},"spacing":{"margin":true,"padding":true,"blockGap":true},"dimensions":{"aspectRatio":true,"minHeight":true,"width":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true}},"layout":{"default":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"},"allowSwitching":false,"allowOrientation":false}},"editorScript":"space-lightplay-editor","editorStyle":"space-lightplay-editor-style","viewScript":"space-lightplay-view","style":"space-lightplay-style","render":"file:.\/render.php"},"space-lightplay\/video":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"space-lightplay\/video","version":"2.0.0","title":"Space Lightplay","category":"media","icon":"video-alt3","description":"Lightweight YouTube, Vimeo or self-hosted video. Nothing external loads until the visitor asks for it.","textdomain":"space-lightplay","keywords":["youtube","vimeo","video","embed","lazy","lightbox"],"allowedBlocks":["space-lightplay\/end-screen"],"attributes":{"source":{"type":"string","enum":["youtube","vimeo","file"],"default":"youtube"},"videoUrl":{"type":"string","default":""},"videoId":{"type":"string","default":""},"vimeoHash":{"type":"string","default":""},"fileId":{"type":"number","default":0},"fileUrl":{"type":"string","default":""},"videoTitle":{"type":"string","default":""},"videoRatio":{"type":"string","default":""},"startAt":{"type":"number","default":0},"endAt":{"type":"number","default":0},"duration":{"type":"number","default":0},"preview":{"type":"string","default":""},"previewId":{"type":"number","default":0},"previewAuto":{"type":"boolean","default":false},"alt":{"type":"string","default":""},"priorityLoad":{"type":"boolean","default":false},"mode":{"type":"string","enum":["click","lightbox","scroll","background"],"default":"click"},"scrollSound":{"type":"boolean","default":false},"lightboxWidth":{"type":"string","default":"1200px"},"lightboxBackdrop":{"type":"string","default":""},"consent":{"type":"boolean","default":false},"consentRemember":{"type":"boolean","default":true},"consentText":{"type":"string","default":""},"btnSize":{"type":"string","default":"80px"},"btnRadius":{"type":"string","default":"50%"},"btnBg":{"type":"string","default":""},"btnBgHover":{"type":"string","default":""},"iconColor":{"type":"string","default":""},"iconColorHover":{"type":"string","default":""},"iconCornerRadius":{"type":"number","default":0},"btnBlur":{"type":"number","default":0},"pulse":{"type":"boolean","default":false},"overlayColor":{"type":"string","default":""},"overlayGradient":{"type":"string","default":""},"overlayOpacity":{"type":"number","default":30},"panelBg":{"type":"string","default":""},"panelText":{"type":"string","default":""},"playerBg":{"type":"string","default":""},"stash":{"type":"object","default":{}}},"supports":{"html":false,"anchor":true,"align":true,"shadow":true,"spacing":{"margin":true},"dimensions":{"aspectRatio":true,"width":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true}}},"editorScript":"space-lightplay-editor","editorStyle":"space-lightplay-editor-style","viewScript":"space-lightplay-view","style":"space-lightplay-style","render":"file:.\/render.php"},"space-lightplay\/end-screen":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"space-lightplay\/end-screen","version":"2.0.0","title":"Video end screen","category":"media","icon":"controls-repeat","description":"Content shown when the video ends: call to action, links, next video \u2014 any blocks.","textdomain":"space-lightplay","parent":["space-lightplay\/video"],"attributes":{"showReplay":{"type":"boolean","default":true},"replayLabel":{"type":"string","default":""}},"supports":{"html":false,"reusable":false,"inserter":false,"color":{"background":true,"gradients":true,"text":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true}},"spacing":{"padding":true,"blockGap":true},"layout":{"default":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"},"allowSwitching":false,"allowOrientation":false}},"editorScript":"space-lightplay-editor","render":"file:.\/render.php"}},"tagged_versions":["1.0.0","1.1.0","2.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3705048,"resolution":"1","location":"assets","locale":"","width":3072,"height":1398},"screenshot-10.png":{"filename":"screenshot-10.png","revision":3705048,"resolution":"10","location":"assets","locale":"","width":3068,"height":1400},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3705048,"resolution":"2","location":"assets","locale":"","width":3072,"height":1404},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3705048,"resolution":"3","location":"assets","locale":"","width":3072,"height":1404},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3705048,"resolution":"4","location":"assets","locale":"","width":3072,"height":1272},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3705048,"resolution":"5","location":"assets","locale":"","width":3070,"height":1396},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3705048,"resolution":"6","location":"assets","locale":"","width":3072,"height":1408},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3705048,"resolution":"7","location":"assets","locale":"","width":3072,"height":1402},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3705048,"resolution":"8","location":"assets","locale":"","width":3072,"height":1402},"screenshot-9.png":{"filename":"screenshot-9.png","revision":3705048,"resolution":"9","location":"assets","locale":"","width":3072,"height":1400}},"screenshots":{"1":"The Space Lightplay block in the editor: a poster with a play button. Set the video, its accessible title and an optional start and end time.","2":"Poster stored in your Media Library, playback options (lightbox, autoplay when in view), end screen and the optional consent notice.","3":"Colours from your theme palette: button and icon with Default and Hover values, plus a hover overlay with its own opacity.","4":"Native dimension and border controls: margin, width, aspect ratio and radius.","5":"Play button design: size, radius, icon roundness, background blur and a pulse on hover.","6":"Space Lightplay Background: a YouTube, Vimeo or self-hosted video behind any blocks.","7":"Background playback and privacy: poster only on phones and an optional consent notice.","8":"Overlay colour and opacity keep text on top of the video readable.","9":"Content layout for the background block: justification, padding, margin and block spacing.","10":"Width, aspect ratio and border radius for the background block."}},"plugin_section":[],"plugin_tags":[10668,4884,222,1609,1610],"plugin_category":[50,54,56],"plugin_contributors":[258272],"plugin_business_model":[],"class_list":["post-297775","plugin","type-plugin","status-publish","hentry","plugin_tags-background-video","plugin_tags-lazy-load","plugin_tags-video","plugin_tags-vimeo","plugin_tags-youtube","plugin_category-media","plugin_category-security-and-spam-protection","plugin_category-social-and-sharing","plugin_contributors-wpspacenerd","plugin_committers-wpspacenerd"],"banners":{"banner":"https:\/\/ps.w.org\/space-lightplay\/assets\/banner-772x250.png?rev=3705086","banner_2x":"https:\/\/ps.w.org\/space-lightplay\/assets\/banner-1544x500.png?rev=3705086","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/space-lightplay\/assets\/icon.svg?rev=3705086","icon":"https:\/\/ps.w.org\/space-lightplay\/assets\/icon.svg?rev=3705086","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-1.png?rev=3705048","caption":"The Space Lightplay block in the editor: a poster with a play button. Set the video, its accessible title and an optional start and end time."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-2.png?rev=3705048","caption":"Poster stored in your Media Library, playback options (lightbox, autoplay when in view), end screen and the optional consent notice."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-3.png?rev=3705048","caption":"Colours from your theme palette: button and icon with Default and Hover values, plus a hover overlay with its own opacity."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-4.png?rev=3705048","caption":"Native dimension and border controls: margin, width, aspect ratio and radius."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-5.png?rev=3705048","caption":"Play button design: size, radius, icon roundness, background blur and a pulse on hover."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-6.png?rev=3705048","caption":"Space Lightplay Background: a YouTube, Vimeo or self-hosted video behind any blocks."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-7.png?rev=3705048","caption":"Background playback and privacy: poster only on phones and an optional consent notice."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-8.png?rev=3705048","caption":"Overlay colour and opacity keep text on top of the video readable."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-9.png?rev=3705048","caption":"Content layout for the background block: justification, padding, margin and block spacing."},{"src":"https:\/\/ps.w.org\/space-lightplay\/assets\/screenshot-10.png?rev=3705048","caption":"Width, aspect ratio and border radius for the background block."}],"raw_content":"<!--section=description-->\n<p>A standard video embed loads a full player \u2014 scripts, iframes, trackers \u2014 the moment the page opens, even if nobody presses Play. Space Lightplay shows a crisp poster instead and loads the player only when the visitor wants it. Your pages stay fast, and nothing is sent to YouTube or Vimeo before it has to be.<\/p>\n\n<p>The plugin adds two blocks that work with <strong>YouTube<\/strong> (including Shorts), <strong>Vimeo<\/strong> (including unlisted videos) and <strong>videos from your Media Library<\/strong>.<\/p>\n\n<h4>Space Lightplay \u2014 the video block<\/h4>\n\n<p>A poster with a play button that turns into the player on click.<\/p>\n\n<ul>\n<li><strong>Open in lightbox<\/strong> \u2014 play the video in a full-screen dialog over the page.<\/li>\n<li><strong>Autoplay when in view<\/strong> \u2014 starts muted when the video scrolls into view and pauses when it leaves. Optionally tries to play with sound.<\/li>\n<li><strong>Start and end time<\/strong> \u2014 play just a part of the video. The fields know the video's length, so values can't go past its end, and replays keep the same segment.<\/li>\n<li><strong>End screen<\/strong> \u2014 show a call to action, links or the next video when playback ends, built from regular blocks, with an optional Replay button.<\/li>\n<li><strong>One at a time<\/strong> \u2014 starting one video pauses the others on the page.<\/li>\n<\/ul>\n\n<h4>Space Lightplay Background \u2014 the background video block<\/h4>\n\n<p>Like the core Cover block, but it also works with YouTube and Vimeo \u2014 Cover only supports self-hosted video.<\/p>\n\n<ul>\n<li>Muted, looping, no controls \u2014 a clean background behind any blocks you add on top.<\/li>\n<li>Plays only while in view.<\/li>\n<li>Optional \"poster only\" on phones: nothing is loaded on small screens, saving your visitors' mobile data.<\/li>\n<li>Overlay colour or gradient with opacity, content alignment, minimum height, padding and text colour \u2014 all native editor controls.<\/li>\n<\/ul>\n\n<h4>Switch freely between blocks<\/h4>\n\n<p>Convert Video \u21c4 Background from the block toolbar. Nothing gets lost on the way: settings the other block doesn't have are kept for converting back, and your content moves with the block. A notice explains what happened and offers Undo.<\/p>\n\n<p>Core blocks work too: YouTube and Vimeo Embed blocks convert to Space Lightplay and back, and for Media Library videos the Video block \u21c4 core Video and the Background block \u21c4 core Cover. Settings the core block has no place for (such as the play button design) are not carried over.<\/p>\n\n<h4>Sharp posters, stored on your site<\/h4>\n\n<ul>\n<li>When you add a YouTube or Vimeo video, its thumbnail is copied into your Media Library in the highest resolution the provider has \u2014 including YouTube's WebP set, which often has an HD frame when the JPEG set doesn't.<\/li>\n<li>Low-resolution frames are cropped to remove YouTube's black bars.<\/li>\n<li>Prefer your own image? Pick any poster from the Media Library. WordPress serves the right size to every screen, including Retina. Media Library videos without a poster show their first frame.<\/li>\n<li>The sidebar shows the poster's size, and explains why if a local copy couldn't be saved.<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<ul>\n<li>Posters come from your own site. Visitors' browsers contact YouTube or Vimeo only when they are about to play: on hover the connection is warmed up to start faster, and with the consent notice on, nothing is contacted until the visitor agrees.<\/li>\n<li>Optional \"ask before loading\" notice per video, with an \"Always allow\" choice and a link to your privacy policy.<\/li>\n<li>YouTube plays in privacy-enhanced mode (youtube-nocookie.com), Vimeo with do-not-track.<\/li>\n<\/ul>\n\n<h4>Designed in the editor<\/h4>\n\n<p>Everything is set with WordPress's own controls \u2014 no custom panels to learn.<\/p>\n\n<ul>\n<li>Alignments (left, center, right, wide, full), width (on WordPress versions that have the Width control), aspect ratio, border, radius, shadow and margin.<\/li>\n<li>The aspect ratio is detected from the video and snapped to a standard format (16:9, 9:16, 4:3\u2026).<\/li>\n<li>Play button: size, radius, icon roundness, background blur and a pulse on hover.<\/li>\n<li>Colours from your theme palette, with transparency and separate Default\/Hover values for the button and icon.<\/li>\n<li>Hover overlay colour or gradient with its own opacity slider, just like the Cover block's overlay.<\/li>\n<\/ul>\n\n<h4>Light by design<\/h4>\n\n<ul>\n<li>About 7 KB of CSS and JS (gzipped) on the page before anyone presses Play.<\/li>\n<li>The lightbox and autoplay scripts load only on pages that use them.<\/li>\n<li>The YouTube or Vimeo player API loads only when it's needed: an end screen, start\/end times, autoplay, or several videos on the page. A single simple video loads just the player.<\/li>\n<li>Connections to the provider warm up on hover, unless a consent notice is still waiting.<\/li>\n<\/ul>\n\n<h4>Accessible<\/h4>\n\n<ul>\n<li>Keyboard-friendly play button with a descriptive label, and an accessible title for every player.<\/li>\n<li>Visitors who prefer reduced motion get no autoplay.<\/li>\n<li>The lightbox is a native dialog: Escape closes it and focus returns to the page.<\/li>\n<li>No video autoplays when the browser asks to save data.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>In your dashboard, go to Plugins \u2192 Add New, search for \"Space Lightplay\" and click Install, then Activate.<\/li>\n<li>In the editor, add the <strong>Space Lightplay<\/strong> block for a video, or <strong>Space Lightplay Background<\/strong> for a background video.<\/li>\n<li>Paste a YouTube or Vimeo link, or choose a video from the Media Library. The poster is prepared automatically.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20anything%20load%20before%20the%20visitor%20presses%20play%3F\"><h3>Does anything load before the visitor presses Play?<\/h3><\/dt>\n<dd><p>Only the poster image, served from your own site, plus about 7 KB of CSS and JS. With \"Autoplay when in view\" and in the Background block, the player loads when the block comes into view.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20youtube%20video%20as%20a%20background%3F\"><h3>Can I use a YouTube video as a background?<\/h3><\/dt>\n<dd><p>Yes. That's what the Space Lightplay Background block is for \u2014 YouTube, Vimeo or a video from your Media Library, with any blocks on top.<\/p><\/dd>\n<dt id=\"why%20is%20the%20poster%20no%20larger%20than%201280%20px%3F\"><h3>Why is the poster no larger than 1280 px?<\/h3><\/dt>\n<dd><p>That's the largest thumbnail YouTube provides for any video, even 4K ones. For a razor-sharp full-width poster on Retina screens, upload your own image as the poster.<\/p><\/dd>\n<dt id=\"why%20does%20%22try%20with%20sound%22%20sometimes%20start%20muted%3F\"><h3>Why does \"Try with sound\" sometimes start muted?<\/h3><\/dt>\n<dd><p>Browsers only allow sound without a click after the visitor has interacted with the page. Otherwise the video starts muted, with a \"Turn sound on\" button.<\/p><\/dd>\n<dt id=\"vimeo%20background%20videos%20still%20show%20controls.\"><h3>Vimeo background videos still show controls.<\/h3><\/dt>\n<dd><p>Vimeo hides its player controls in background mode only for videos on a paid Vimeo plan.<\/p><\/dd>\n<dt id=\"i%27m%20upgrading%20from%201.x%20%E2%80%94%20will%20my%20blocks%20break%3F\"><h3>I'm upgrading from 1.x \u2014 will my blocks break?<\/h3><\/dt>\n<dd><p>No. Existing blocks look the same, and the 1.x CSS classes (space-lightplay-btn, space-lightplay-icon, space-lightplay-iframe, space-lightplay-placeholder, is-playing) are still on the same elements, so theme customisations keep working. When you open a post in the editor, the old aspect ratio moves to the native control and the removed Minimal\/Bold\/Glass styles become regular button settings.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20with%20any%20theme%3F\"><h3>Does the plugin work with any theme?<\/h3><\/dt>\n<dd><p>Yes, block themes and classic themes alike. The aspect ratio, border radius and width controls are enabled for these blocks even if your theme doesn't turn them on.<\/p><\/dd>\n<dt id=\"will%20removing%20the%20plugin%20leave%20anything%20in%20my%20database%3F\"><h3>Will removing the plugin leave anything in my database?<\/h3><\/dt>\n<dd><p>No options, tables or transients are created. Posters copied into the Media Library stay there as regular images; only the plugin's own bookkeeping data on them is removed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>New: Space Lightplay Background block \u2014 YouTube, Vimeo or self-hosted video behind any blocks, with lossless conversion to and from the Video block and core Cover.<\/li>\n<li>New: Vimeo and Media Library video sources.<\/li>\n<li>New: playback options \u2014 open in lightbox, autoplay when in view (with optional sound).<\/li>\n<li>New: End screen built from regular blocks, with a Replay button.<\/li>\n<li>New: end time \u2014 playback stops there and the end screen appears.<\/li>\n<li>New: optional consent notice before loading YouTube\/Vimeo.<\/li>\n<li>New: poster copied into the Media Library automatically; responsive srcset for posters.<\/li>\n<li>Improved: posters use the highest-resolution frame YouTube has (1280 px), including its WebP set, which often has an HD frame when the JPEG set doesn't; lower-resolution frames are cropped to remove black bars.<\/li>\n<li>New: hover overlay with colour or gradient and a separate opacity slider, like the core Cover block (replaces the fixed 1.x darkening; same look by default).<\/li>\n<li>New: convert to and from core Video (Media Library videos) and core Embed for Vimeo as well as YouTube.<\/li>\n<li>New: pause other videos when one starts.<\/li>\n<li>New: all block alignments like the core Embed block (left, center, right, wide, full) and the native Width control.<\/li>\n<li>New: play button blur; all colours in the Styles tab with theme palette, transparency and Default\/Hover tabs.<\/li>\n<li>New: native aspect ratio, border, shadow and margin controls; automatic ratio from the video (Shorts = 9:16).<\/li>\n<li>New: player background colour (visible when the block's aspect ratio differs from the video's).<\/li>\n<li>New: Background block can show only the poster on phones; no autoplay when the browser asks to save data or the visitor prefers reduced motion.<\/li>\n<li>Improved: video aspect ratio detected automatically and snapped to standard ratios (16:9, 9:16, 4:3\u2026).<\/li>\n<li>Improved: poster panel in the sidebar shows the image size and why a local copy could not be saved.<\/li>\n<li>Compatibility: tested with WordPress 7.1 \u2014 block API v3 and the iframe-based editor.<\/li>\n<li>Changed: block styles Minimal\/Bold\/Glass replaced by settings (migrated automatically).<\/li>\n<li>Changed: requires WordPress 6.5.<\/li>\n<li>Kept: 1.x CSS classes (space-lightplay-btn, space-lightplay-icon, space-lightplay-iframe, space-lightplay-placeholder, is-playing) stay on the same elements, so theme customisations keep working.<\/li>\n<li>Removed: \"prefer maximum quality thumbnail\" (the best available size is always used).<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fixed: frontend colours not applying when chosen via the native WordPress colour picker (alpha values, CSS variables, and rgba with spaces are now accepted).<\/li>\n<li>Fixed: wide and full alignment now respect the active theme's container width instead of stretching to the page viewport. Block themes and classic themes both work correctly.<\/li>\n<li>Fixed: play triangle is now optically centred regardless of button shape and stays the same visible size when corner roundness is adjusted.<\/li>\n<li>New: aspect ratio control \u2014 16:9, 4:3, 1:1, 9:16 (vertical\/Shorts), 21:9 cinematic.<\/li>\n<li>New: start time (timecode) \u2014 set in seconds, or paste a URL with ?t=\u2026 and it auto-fills.<\/li>\n<li>New: above-the-fold mode \u2014 disables lazy-load on the preview image for hero videos to improve LCP.<\/li>\n<li>New: hover-prefetch \u2014 preconnect to YouTube on hover\/focus\/touch, so the iframe loads faster on click. Always on, zero config.<\/li>\n<li>New: block style variations \u2014 Minimal, Bold, Glass.<\/li>\n<li>New: triangle corner roundness control \u2014 round the tips of the play icon.<\/li>\n<li>New: optional accessible title for the video iframe \u2014 describes the video to screen readers.<\/li>\n<li>New: alpha-channel support on background colour pickers.<\/li>\n<li>New: block transforms \u2014 convert from a core\/embed YouTube block to Space Lightplay and back in one click.<\/li>\n<li>New: spacing (margin) and HTML anchor block supports.<\/li>\n<li>New: RTL support for the play triangle.<\/li>\n<li>New: translations directory and <code>.pot<\/code> file for the WordPress.org translation community.<\/li>\n<li>Improved: block wrapper now uses semantic <code>&amp;lt;figure&amp;gt;<\/code> element instead of <code>&amp;lt;div&amp;gt;<\/code> \u2014 better for accessibility, screen readers, and content parsers. Existing CSS targeting the <code>.space-lightplay<\/code> class is unaffected; spacing controls in the editor continue to work.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Fast YouTube, Vimeo and self-hosted video blocks: click-to-play, lightbox and background video. Nothing heavy loads until it&#039;s needed.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/297775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=297775"}],"author":[{"embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpspacenerd"}],"wp:attachment":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=297775"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=297775"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=297775"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=297775"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=297775"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=297775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}