youtube full screen option

wordpress's Avatar

wordpress

20 Mar, 2017 05:19 PM

Helo,

Is there a way to show a button to play youtube video on fullscreen from slider?

thank you

  1. Support Staff 1 Posted by Dmitry Semenov on 20 Mar, 2017 06:52 PM

    Dmitry Semenov's Avatar

    Hello,

    There is no such option, as slider does not include YouTube API JS file on page, it just adds an iframe after user clicks on play button. You'll JS/PHP knowledge to implement it (include YouTube API JS file -> manually initialize YT player -> bind click event on some slider element -> launch fullscreen on YT player onclick).

    Dmitry

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac