Fix auto-play video for single slide and ensure compatibility with Safari on Mac and Firefox

Created on 15 October 2023, about 1 year ago
Updated 12 December 2023, 12 months ago

Problem/Motivation

Facing issues with single video slide using Safari on Mac

Steps to reproduce

Given that a hero slider for a Varbase site has local video as the first slide
And the browser was a Safari on Mac
When loading the landing page with
Then the video will not auto play

Proposed resolution

  • Remove the forced active slide with a local video is in the first slide
  • Manage the single local video slide too
  • Change default config for Media Hero Slider view mode and media display for the local video media type.
  • Change muted to true
  • Disable blazy for local videos in the varbase_media_hero_slider display mode, use the default Drupal+Browser lazy-loading options

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-rc1 , varbase_heroslider_media-10.0.0-beta2 , varbase-9.0.17 , varbase_heroslider_media-9.0.11

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

🐛 Bug report
Status

Fixed

Version

9.0

Component

Code

Created by

🇯🇴Jordan mohammad faqeh

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

Comments & Activities

Production build 0.71.5 2024