October 2, 2022
this.addIframe())}static addPrefetch(e,t,i){const a=document.createElement("link");a.rel=e,a.href=t,i&&(a.as=i),document.head.append(a)}static warmConnections(){LiteYTEmbed.preconnected||(LiteYTEmbed.addPrefetch("preconnect","https://www.youtube-nocookie.com"),LiteYTEmbed.addPrefetch("preconnect","https://www.google.com"),LiteYTEmbed.addPrefetch("preconnect","https://googleads.g.doubleclick.net"),LiteYTEmbed.addPrefetch("preconnect","https://static.doubleclick.net"),LiteYTEmbed.preconnected=!0)}addIframe(){const e=new URLSearchParams(this.getAttribute("params")||[]);e.append("autoplay","1");const t=document.createElement("iframe");t.width=560,t.height=315,t.title=this.playLabel,t.allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",t.allowFullscreen=!0,t.src=`https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${e.toString()}`,this.append(t),this.classList.add("lyt-activated"),this.querySelector("iframe").focus()}}customElements.define("lite-youtube",LiteYTEmbed);]]> Google Chrome version 105 arrived on August 30, 2022. This latest release gains better picture-in-picture support for Android, more tools for web apps to feel native, and some under-the-hood goodies. Picture-in-Picture for Chrome on Android Google Chrome on the desktop has supported picture-in-picture videos…

[] this.addIframe())}static addPrefetch(e,t,i){const a=document.createElement(“link”);a.rel=e,a.href=t,i&&(a.as=i),document.head.append(a)}static warmConnections(){LiteYTEmbed.preconnected||(LiteYTEmbed.addPrefetch(“preconnect”,”https://www.youtube-nocookie.com”),LiteYTEmbed.addPrefetch(“preconnect”,”https://www.google.com”),LiteYTEmbed.addPrefetch(“preconnect”,”https://googleads.g.doubleclick.net”),LiteYTEmbed.addPrefetch(“preconnect”,”https://static.doubleclick.net”),LiteYTEmbed.preconnected=!0)}addIframe(){const e=new URLSearchParams(this.getAttribute(“params”)||[]);e.append(“autoplay”,”1″);const t=document.createElement(“iframe”);t.width=560,t.height=315,t.title=this.playLabel,t.allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture”,t.allowFullscreen=!0,t.src=`https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${e.toString()}`,this.append(t),this.classList.add(“lyt-activated”),this.querySelector(“iframe”).focus()}}customElements.define(“lite-youtube”,LiteYTEmbed);]]>

Google Chrome version 105 arrived on August 30, 2022. This latest release gains better picture-in-picture support for Android, more tools for web apps to feel native, and some under-the-hood goodies.

Picture-in-Picture for Chrome on Android

Google Chrome on the desktop has supported picture-in-picture videos for a long time. Now, the API is finally coming to Android devices with version 105.

Picture-in-picture has been possible in Chrome for Android by simply exiting to the home screen. However, the API will make it easier and more obvious to pop out a video to PiP. It will be up to web developers to implement it on their websites.

Windows Controls for Web Apps

Google

Google has been working on making progressive web apps (PWAs) feel more like native apps. Chrome 97 made it possible for web apps to put elements in the window’s top title bar. Version 105 is expanding on that.

Not only can web apps put things like a search bar in the title bar, they…

Read Full Article Source

Leave a Reply

Your email address will not be published.