Skip to content
Snippets Groups Projects
Olivier Goulet's avatar
closed issue #442 "Add video id data attribute for video widget" at Eclipse Foundation / IT / Webdev / solstice-assets
Olivier Goulet's avatar
accepted merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets
Olivier Goulet's avatar
  • e1dae422 · feat(video widget): adding support for embedding video only with th...
Olivier Goulet's avatar
approved merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets
Martin Lowe's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

LGTM, I'll leave it to Olivier to approve as he had some comments

Web Dev Bot user's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

Deploy Preview for webdev.eclipse.org-solstice-assets is ready [ 2 min 42 sec]...

Olivier Goulet's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

I mean to add your videoId control to the existing "Video Embed" and "Playlist Embed" stories. One video per story.

Jordi Gómez's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

you mean, in the same stories but as a different widget? resulting in two videos per story

Jordi Gómez's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

yep, that's a fair point, I can add that check

Olivier Goulet's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

It's a very nice improvement @gnugomez!...

Olivier Goulet's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

I don't find this feature complex enough to warrant a separate story. IMO, the id arg should be incorporated into the two existing stories....

Olivier Goulet's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

I know this logic already exists in the current code, but it seems too risky to insert a URL directly into an iframe without at least validating th...

Web Dev Bot user's avatar
commented on merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets

Deploy Preview for webdev.eclipse.org-solstice-assets is ready [ 2 min 46 sec]...

Jordi Gómez's avatar
opened merge request !598 "feat(video widget): adding support for embedding video only with the id" at Eclipse Foundation / IT / Webdev / solstice-assets
Olivier Goulet's avatar
commented on issue #442 "Add video id data attribute for video widget" at Eclipse Foundation / IT / Webdev / solstice-assets

Yes, we should continue supporting the previous usage @gnugomez

Jordi Gómez's avatar
commented on issue #442 "Add video id data attribute for video widget" at Eclipse Foundation / IT / Webdev / solstice-assets

@oliviergoulet do we want to introduce this change in a non-breaking way? so that the previous usage is also available.

Jordi Gómez's avatar
commented on issue #442 "Add video id data attribute for video widget" at Eclipse Foundation / IT / Webdev / solstice-assets

awesome thanks for the context 😊

Olivier Goulet's avatar
commented on issue #442 "Add video id data attribute for video widget" at Eclipse Foundation / IT / Webdev / solstice-assets

We have a video embed component that can be used like so:...

Jordi Gómez's avatar
commented on issue #442 "Add video id data attribute for video widget" at Eclipse Foundation / IT / Webdev / solstice-assets

@oliviergoulet Could you expand a little bit what needs to be done here? it's not looking clear for me. Thanks