Jump to content

TextformatterVideoEmbedOptions


blynx
 Share

Recommended Posts

13 minutes ago, tires said:

As I said above you can easily hide them by changing the "YouTube: Show Related Videos at the End" to 0 value. This adds the "rel=0" to the embed url which hides both pause and end related videos. I've already tried and it's working fine.

Link to comment
Share on other sites

I set this value to "0" but the pause-overlay is displayed anyway!!!

The generated iframe code looks like this:

<iframe style='position:absolute;top:0;left:0;width:100%;height:100%;' width="760" height="428" src="https://www.youtube-nocookie.com/embed/abc123?feature=oembed" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

PS. i use this module code https://github.com/ryancramerdesign/TextformatterVideoEmbed/pull/12

Link to comment
Share on other sites

5 minutes ago, tires said:

I set this value to "0" but the pause-overlay is displayed anyway!!!

The generated iframe code looks like this:


<iframe style='position:absolute;top:0;left:0;width:100%;height:100%;' width="760" height="428" src="https://www.youtube-nocookie.com/embed/abc123?feature=oembed" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

PS. i use this module code https://github.com/ryancramerdesign/TextformatterVideoEmbed/pull/12

It should be src="https://www.youtube-nocookie.com/embed/abc123?feature=oembed&rel=0" in order to work. It seems that TextformatterVideoEmbedOptions module can't add the options to your custom TextformatterVideoEmbed module. Install the original TextformatterVideoEmbed module and you'll see that the "rel" will be added properly.

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
  • 4 weeks later...
  • 4 months later...
  • 2 weeks later...
  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...