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

Add video block for embedded videos #301

Merged
merged 1 commit into from
Jul 13, 2022
Merged

Add video block for embedded videos #301

merged 1 commit into from
Jul 13, 2022

Conversation

zastrow
Copy link
Collaborator

@zastrow zastrow commented Jun 23, 2022

Description

This creates a new block for content to display video embeds like those from YouTube or Vimeo. The block is called video and expects the first table cell to contain an embed code and optionally another row cell can contain a caption.

This addresses Issue #43

Motivation and Context

The will allow content creators to add video to stories

How Has This Been Tested?

Tested with a new page to demo the feature: https://sbx-video-embeds--design-website--adobe.hlx.page/drafts/demo-draft

Screenshots (if appropriate):

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • All new and existing tests passed.

@zastrow zastrow marked this pull request as ready for review June 23, 2022 00:36
@aem-code-sync
Copy link

aem-code-sync bot commented Jun 23, 2022

Page Score PSI Audit Google
/drafts/demo-draft SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Jun 23, 2022

Page Score PSI Audit Google
/drafts/demo-draft SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Jun 24, 2022

Page Score PSI Audit Google
/drafts/demo-draft SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Jun 24, 2022

Page Score PSI Audit Google
/drafts/demo-draft SI FCP LCP TBT CLS PSI


/* If the browser supports the aspect-ratio property
then use it and remove the padding-based ratio */
@supports (aspect-ratio: 16/9) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@zastrow zastrow merged commit 62c407b into main Jul 13, 2022
@zastrow zastrow deleted the sbx-video-embeds branch July 13, 2022 20:18
@aem-code-sync
Copy link

aem-code-sync bot commented Jul 13, 2022

Page Score PSI Audit Google
/drafts/demo-draft SI FCP LCP TBT CLS PSI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants