-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat(video): Adding template for video, using it in different components - FRONT-4497 #3506
Conversation
…pa-component-library into FRONT-4497-Video-template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some small data updates
@@ -3138,7 +3138,7 @@ exports[`Gallery Default renders correctly with old data 1`] = ` | |||
</div> | |||
<video | |||
aria-label="EU law - Video" | |||
class="ecl-gallery__image" | |||
class="ecl-video ecl-gallery__image" | |||
poster="https://inno-ecl.s3.amazonaws.com/media/examples/example-image5.jpg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason we lost the change in the gallery data, using another html video.
It could be good to bring it back while we are changing the gallery and also use it in the video component data)
https://github.com/ec-europa/europa-component-library/pull/3554/files#diff-330b93090781d35d9db384dca62ddc8ab9726a69caccb37617070e162ff45beaR92
|
||
{# | ||
Parameters: | ||
- "image" (string) (default: '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be poster
here I guess
}, | ||
... | ||
], | ||
- "video": (associative array) (default: {}) Object of type ECL video | ||
- "image" (string) (default: ''): Image to be used as the video placeholder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the image
parameter should be deprecated
…pa-component-library into FRONT-4497-Video-template
No description provided.