-
-
Notifications
You must be signed in to change notification settings - Fork 4k
feat: promo video on homepage (#7229) #7230
Conversation
Reviewpad Report ℹ️ Messages
|
Anyone know how to fix this failing test with the YouTube embed video
|
The issue seems to be related to the accessibility of iframe element. Since "aria-label attribute cannot be used on a with no valid role attribute." We can either remove the |
Thank you 👍 I think it is not on the iframe though but an item with the iframe because removing
|
It is a YouTube embed problem. There is no way you can fix it outside of not using the iframe API. There used to be an option to not show channel info before play started, but they deprecated it. |
One temporary solution could be to manipulate the test to ignore the violation of this specific issue but this might not be a good practice & may affect the accessibility of the project. |
If YouTube isn't necessary, I would suggest just using a mp4 video file. |
Thanks for the info and suggestions 👍 YouTube is not needed, we could do mp4, but the benefit is that YouTube does the different resolutions for different internet speeds. So I guess the options are:
I am not sure which is better? |
One possible solution is using a video hosting solution like Cloudinary. |
Thanks Dan for those suggestions 👍 I found out our platform we use for EddieHub supports videos and the tests seem to now pass - so I will use that for now |
Fixes Issue
fixes #7229
Changes proposed
Check List (Check all the applicable boxes)
Screenshots
Note to reviewers