13
Views
4
Comments
Solved
[YouTubeReactive] please add
Question
Forge component by G. Andrew Duthie
0
Published on 18 Jun 2020

please add the following from the traditional web youtube player:

- ability to turn off controls

- ability to turn on auto play

- if just have width input then set height to use youtube standard 16:9 aspect ratio

mvp_badge
MVP
Rank: #18
Solution

Hi Jason,

First my apology; it took a few days longer before I could allocate some time to work on the improvements of this component.

But I am glad to inform you that the following features are added in the latest release of the component:

You can set the following advanced configuration options:

  • setMuted: if true the video will start muted (default = false)
  • setLoop: If true video will restart automatically when ended (default = false)
  • showControls: if false video controls is hidden (default = true)
  • showFullScreen: if false fullscreen icon is hidden (default = true)

If only width is set, height is automatically calculated using 16:9 ratio.

The Autoplay feature is unfortunately not part of this version.
There are some limitations that browsers can impose on this function.
I will need some more time figuring out how to ensure Autoplay will always work if I would implement it.

Regards,

Daniel

mvp_badge
MVP
Rank: #18

Hi Jason,

I was already busy with the first two of your requests, testing it a bit more. Expect a new version to be available in a few days. I look into the standard ratio also then.

Regards,

Daniel

mvp_badge
MVP
Rank: #18
Solution

Hi Jason,

First my apology; it took a few days longer before I could allocate some time to work on the improvements of this component.

But I am glad to inform you that the following features are added in the latest release of the component:

You can set the following advanced configuration options:

  • setMuted: if true the video will start muted (default = false)
  • setLoop: If true video will restart automatically when ended (default = false)
  • showControls: if false video controls is hidden (default = true)
  • showFullScreen: if false fullscreen icon is hidden (default = true)

If only width is set, height is automatically calculated using 16:9 ratio.

The Autoplay feature is unfortunately not part of this version.
There are some limitations that browsers can impose on this function.
I will need some more time figuring out how to ensure Autoplay will always work if I would implement it.

Regards,

Daniel

Staff
Rank: #174

Thanks, Daniël, for your work on these features. Appreciate the collaboration!