Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experimental: add <YouTube /> component #1158

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haxibami
Copy link
Member

  • embed/YouTube.astro コンポーネントを追加しました
    • src を指定するだけでYouTube動画を埋め込むことができます
    • 動画はレスポンシブにサイズが変わるため、以前のように(モバイル端末などで)はみ出すことはありません
    • <iframe />loading="lazy" を付けているので、読み込み時のパフォーマンスが少し改善するかもしれません
    • 比較

@haxibami haxibami added the web-development Tasks of web-development category label Aug 23, 2024
Copy link

🚀 Deployed on https://deploy-preview-1158--utelecon.netlify.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-development Tasks of web-development category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant