Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #890850

    I’m trying to embed YouTube video in Cornerstone. I use the embed video and pasted the code and that’s what’s showing on my site.

    Can you help me resolve this problem?

    https://mountainviewvineyard.com/planting-a-vineyard/

    #891547

    Christopher
    Moderator

    Hi there,

    pleas add this code to embed this video :

    <iframe width="560" height="315" src="https://www.youtube.com/embed/WQU066j4c74" frameborder="0" allowfullscreen></iframe>

    Thanks.

    #891646

    That’s the ticket! Thanks. How do I make the large white border around the video smaller (or non-existent)?

    #892318

    Rupok
    Member

    Hi there,

    Thanks for writing back! You can add this under Custom > CSS in the Customizer.

    .x-video.with-container{
      border: medium none;
      box-shadow: none;
      padding: 2.5%;
    }

    Let’s change the padding value to decrease the spacing around if needed.

    Hope this helps.

    Cheers!

    #892345

    bigcity123
    Participant

    to keep the video from going to the next video you can put in the ?rel=0 I did it in the example below
    <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/WQU066j4c74?rel=0″ frameborder=”0″ allowfullscreen></iframe>

    #892364

    Thank you both!

    #893150

    Rupok
    Member

    You are welcome!

    Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!