Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
astro-lazy-youtube-embed
Advanced tools
Embed YouTube videos with a static placeholder which only embeds when you click
Embed YouTube videos with a static placeholder which only embeds when you click.
This component uses an <iframe>
with srcdoc
attribute to provide a static placeholder, which mimics the style of a real YouTube embed (at the time of writing).
npm i astro-lazy-youtube-embed
This component uses a default
export, so you can import it as whichever name you prefer:
---
import YouTubeVideo from 'astro-lazy-youtube-embed'
---
<YouTubeVideo videoCode="FfTT7mxGw8I" title="Just Curious - Limmy's Homemade Show"/>
<div class="my-8">Provide your own class for additional styling:</div>
<YouTubeVideo
class="rounded"
videoCode="L0C5nyOVTzc"
title="Limmy Teaches Techno - Limmy's Homemade Show"
/>
FAQs
Embed YouTube videos with a static placeholder which only embeds when you click
The npm package astro-lazy-youtube-embed receives a total of 0 weekly downloads. As such, astro-lazy-youtube-embed popularity was classified as not popular.
We found that astro-lazy-youtube-embed demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.