Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #205210

    Using the Video shortcode or the Video Media Element in the layout builder, is there any way to specify options for the embed code for youtube videos?

    For example, I would like to be able to hide the controls, and not show suggested/related videos when the video finishes playing.

    Examples of some of the parameters I would like control over are here:

    http://leaderswest.com/2012/10/10/youtube-embed-options-can-make-your-videos-look-less-youtube-y/

    Any way to implement this?

    #205243

    Hey EvanMPW!

    You can use a Text Block then switch to the Text editor. Add the youtube embed code under Share panel.

    <iframe width="560" height="315" src="//www.youtube.com/embed/w9OhG7Wx1CY?rel=0" frameborder="0" allowfullscreen></iframe>

    The “?rel=0″ at the end of the URL will disable the suggested videos. You can also add “&autoplay=1″ to enable auto play.

    <iframe width="560" height="315" src="//www.youtube.com/embed/w9OhG7Wx1CY?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Youtube Embed Options’ is closed to new replies.