Skip to content
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

Embed player element visibility control #74

Open
rpeterman-gp opened this issue Aug 16, 2022 · 0 comments
Open

Embed player element visibility control #74

rpeterman-gp opened this issue Aug 16, 2022 · 0 comments
Labels

Comments

@rpeterman-gp
Copy link
Contributor

Allow elements to be hidden, such as thumbnail, title, subtitle, branding, menus and their individual buttons, and background image. This should allow creators to configure minimal versions of player to embed into their own pages as UI elements, without visually duplicating image and title of the episode's page.

This will need updates to the embed configuration interfaces, and model parser, along with layout styles and selection logic.

  • Any element with an override parameter should support a 'hidden' value. Empty values should continue to use default values and fallbacks.
  • Thumbnail: Hide when episode image is not available and no podcast image is available for fallback. Currently the image will not render, but the player layout leaves an empty space when missing.
  • Title and Subtitle: Add layout to support not showing text. Subtitle should be hidden if title is hidden.
  • Branding: add parameter hb to flag PRX logo to be hidden.
  • Menu: add parameter hm. A value of 'hidden', 'all', or '1' should hide the entire menu. Value can be the name of an individual submenu or menu button. Multiple elements can be hidden by providing additional hm parameters.
  • Background Image: This should already be not rendered when an image URL is not provided. May need to adjust color scheme background colors when image is missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant