CoreFiles by mySites.guru
view.min.js1 lines, 266 bytes, from wordpress-7.2-beta4.zip
Raw History Compare with 7.2-beta3
md5
3d33a4faf069f4b6c93f74c6051e47c1
sha1
0bcc6b7d1d045cbca618526f74ef8ab1b63f58f7
sha256
415093c72343fed3ea052cbb59b9f71de2a3a6cc30ef89dd3c8bef8f98b450ed
import{getElement as o,store as t}from"@wordpress/interactivity";function r(){return window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches===!0}t("core/video",{callbacks:{stopAutoplay(){if(!r())return;let{ref:e}=o();e.autoplay=!1,e.pause()}}},{lock:!0});

The same content is in 7 releases, WordPress 7.2-beta1 to 7.2-RC2. See them all, or every version of this file.