Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@astro-community/astro-embed-vimeo
Advanced tools
Component to easily embed Vimeo videos on your Astro site
@astro-community/astro-embed-vimeo
This package contains a component for embedding Vimeo videos in Astro projects.
npm i @astro-community/astro-embed-vimeo
<Vimeo id={video_id_or_url} />
The Vimeo component generates an embed using a lite-vimeo
custom element. Vimeo embeds will always require some JavaScript, but this is one of the most minimal and performant ways to embed a Vimeo video.
---
import { Vimeo } from '@astro-community/astro-embed-vimeo';
---
<Vimeo id="32001208" />
You can also pass in the full URL for the video:
<Vimeo id="https://vimeo.com/32001208" />
poster
You can provide an alternative poster image by passing in a URL to the poster
prop.
<Vimeo
id="32001208"
poster="https://images-assets.nasa.gov/image/0302063/0302063~orig.jpg"
/>
params
You can pass a params
prop to set the player parameters supported by Vimeo. This looks like a series of URL search params.
<!-- Example: Set the UI color to red and mute by default. -->
<Vimeo id="32001208" params="color=ff0000&muted=1" />
playlabel
By default, the play button in the embed has an accessible label set to “Play”. If you want to customise this, you can set the playlabel
prop.
<Vimeo id="32001208" playlabel="Play the video" />
FAQs
Component to easily embed Vimeo videos on your Astro site
The npm package @astro-community/astro-embed-vimeo receives a total of 1,124 weekly downloads. As such, @astro-community/astro-embed-vimeo popularity was classified as popular.
We found that @astro-community/astro-embed-vimeo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.