Configure the "rel" parameter for embedded Youtube videos
The YouTubeRenderer currently does not support the "rel" url parameter. Setting it to 0 it will prevent the display of related videos after finishing the embedded video.
Updated by Sebastian Michaelsen almost 5 years ago
I'm currently working on a proof-of-concept extension that aims to bring flexform to sys_file_reference with options depending on the file type. I think the functionality would be well suited for the core, but I'd need/like some help with implementing it cleanly.
Updated by Frans Saris almost 5 years ago
- Tracker changed from Feature to Bug
- TYPO3 Version set to 7
- Is Regression set to No
Sebastian Kurfuerst I get the use-case and possible need of your flexform solution. But IMO thus is not something for the core but more for an extension.
When I developed the youtube / vimeo integration the main goal was to make it editor friendly. Imo that means give him as less as possible option to set ;). All the specific configuration is something for the integrator.
On the other hand the OnlineMedia API is flexible enough to add your wanted behaviour to the core in the form of an extension.
Basically extend the TCA of sys_file_reference to add the flexform + register your own YoutubeRenderer and VimeoRenderer. If you need some help with that just let me know (you can ping me on slack for instance).
Regarding the rel issue; the core renderer should be able to handle that attribute. Imo this is a bug that should be fixed. We should also check if we missed more attributes.