- Issue created by @apereira23
- First commit to issue fork.
- π¨πΊCuba pponcedeleona
Issue Summary
After the recent changes, the youtube_params field is now saving correctly in the formatter configuration, but these parameters are not being applied to the YouTube videos when rendered. Additionally, there should be a tooltip or help text indicating which parameters are valid, as some common parameters like autoplay are not supported due to the nature of the lite-youtube library.
Steps to Reproduce
Go to Structure > Content types > [Content Type] > Manage display
- Configure a field using the "Lite YouTube" formatter
- Set YouTube parameters in the "Params" field (e.g., start=30s&controls=0)
- Save the configuration
- View content with YouTube videos
- Observe that the configured parameters are not applied to the YouTube embed
Expected Behavior
- YouTube parameters configured in the formatter settings should be applied when the video loads
- The configuration form should include help text or tooltip indicating which parameters are supported by the lite-youtube component
Actual Behavior
- The recent changes successfully allow the youtube_params field to save correctly in the configuration
- However, these saved parameters are not being applied to the video when it renders
- No guidance is provided about which parameters are valid (e.g., autoplay is not supported by lite-youtube)
- π¨πΊCuba jleon1110
I tested the recent changes. The youtube_params field is saving correctly in the formatter settings, but the parameters are not working when the video shows on the page. I tried values like
start=30&controls=0
, but they donβt change the video. It looks like the parameters are not added to the<lite-youtube>
tag.Also, there is no help text to tell users which parameters are supported. For example,
autoplay
does not work because the lite-youtube component does not support it.I will fix two things:
Make sure the saved youtube_params are added to the video embed.
Add help text in the settings form with a link to the lite-youtube documentation, so users know what parameters they can use.
I will share a patch or merge request soon.
- Merge request !9Issue #3529256 by jleon1110, apereira23, ruby232, pponcedeleona: Incorrect... β (Merged) created by Unnamed author
-
ruby232 β
committed b7f6045d on 1.0.x authored by
jleon1110 β
Issue #3529256 by jleon1110, apereira23, ruby232, pponcedeleona:...
-
ruby232 β
committed b7f6045d on 1.0.x authored by
jleon1110 β