Skip to content

Fix #1303: Remove posterUrl from Video in v0.9 Angular and add to v0.10 spec#1373

Open
josemontespg wants to merge 7 commits into
google:mainfrom
josemontespg:fix-1303-video-posterurl
Open

Fix #1303: Remove posterUrl from Video in v0.9 Angular and add to v0.10 spec#1373
josemontespg wants to merge 7 commits into
google:mainfrom
josemontespg:fix-1303-video-posterurl

Conversation

@josemontespg
Copy link
Copy Markdown
Collaborator

@josemontespg josemontespg commented May 8, 2026

What

Removed support for the posterUrl property in the v0.9 Angular implementation of the Video component, and added it to the v0.10 specification.

Why

Similar to the placeholder property, posterUrl was supported in the Angular renderer but missing from the v0.9 spec. It was removed from the v0.9 renderer for consistency. Since it maps directly to an HTML attribute and is essential for the Video component, it was added to the v0.10 specification.

Addresses #1303

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the 'posterUrl' feature from the v0.9 Angular Video component while simultaneously adding it to the v0.10 JSON specification. The review feedback highlights several instances of unnecessary blank lines left behind after the code removal, which violate the repository's style guide regarding clean code and auto-formatting. Additionally, the reviewer noted that the component's JSDoc documentation needs to be updated to reflect the removal of the poster image feature.

Comment thread renderers/angular/src/v0_9/catalog/basic/video.component.ts
Comment thread renderers/angular/src/v0_9/catalog/basic/video.component.ts Outdated
Comment thread renderers/angular/src/v0_9/catalog/basic/video.component.ts Outdated
@josemontespg josemontespg marked this pull request as ready for review May 11, 2026 21:39
@josemontespg josemontespg enabled auto-merge (squash) May 11, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant