Have a wrapper class object-fit-media to fit any media videos or iframe to its selected ratio

Created on 20 November 2022, about 2 years ago
Updated 29 May 2023, over 1 year ago

Problem/Motivation

Having a video play issue of not following with dimension or aspect ratio.

Steps to reproduce

Given that the 4:1, 3:1, 2:1 or 1:1 aspect ratio was selected to be used with Local or remote videos
When the Varbase Video Player is loaded in a page
Then the Video playing should object fit the media selected size or ratio

Proposed resolution

Have a wrapper class object-fit-media to fit any media video or iframe to its selected ratio
Example of 4:1 in:

  • Add object-fit-media to the main media in the layout builder section for Edge to Edge lead media 1 column
  • add object-fit-media to the main media in the layout builder section for Edge to Edge lead media 2 columns

Blog post - Video - Edge to Edge lead media 1 column

Blog post - YouTube Video - Edge to Edge lead media 1 column

Blog post - Vimeo Video - Edge to Edge lead media 1 column

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.0.0-alpha1 , varbase_media-10.0.0-alpha1

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3322734 : Have a wrapper class object-fit-media to fit any media videos or iframe to its selected ratio
📌 Task
Status

Fixed

Version

10.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024