Feature Request

I thought I had posted this issue yesterday but I don’t see it. Maybe it has been deleted or I made a mistake.

I post again my message :

When you need to add some option like "hide video suggestion", you need to use a url like

https://www.youtube.com/embed/ZXJWO2FQ16c?rel=0

which is different from the classic url : https://www.youtube.com/watch?v=ZXJWO2FQ16c

The URL accepts a number of query parameters that govern the behavior of the video playback.

with some extra parameters, including:

  • Video size
  • Show suggested videos when the video finishes
  • Show player controls
  • Show video title and player actions
  • Enable privacy-enhanced mode

Is it possible to update the module in order to make the filter works with this kind of url ?

Comments

vinyl_roads created an issue. See original summary.

sébastien-fr’s picture

Issue summary: View changes
sébastien-fr’s picture

Issue summary: View changes
Holy Harmonica’s picture

Another parameter is for Closed Captions: If I add the code for closed captions, &cc_load_policy=1, it will not show a preview and it will give an error: "An error occurred. Please try again later." In your filter's basic configuration it works well. Thanks.

jaypan’s picture

Assigned: Unassigned » jaypan

I think I can build something out to support this.

  • Jaypan committed 8cd0c1e on 8.x-1.x
    Issue #2935945 by Jaypan: Feature requests : add new filter to support...

  • Jaypan committed d0470ec on 8.x-1.x
    Issue #2935945 by Jaypan: Udpating code to allow query parameters in...
jaypan’s picture

Status: Active » Fixed

This has been added to version 8.x-1.2 to the module (for YouTube)
and 8.x-1.3 version of the module (for Vimeo)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sébastien-fr’s picture

@Jaypan

Thank you very much for taking the time to update the module.

It seems to work very well, with this url, I don’t see video suggestion :

https://www.youtube.com/watch?v=A0FZIwabctw?rel=0

Maybe you could update the documentation in "Configuration" section to explain support for custom queries appended to YouTube URLs.

I've discovered this new functionality only in the release notes of url_to_video_filter 8.x-1.2