Tagged: cornerstone
-
AuthorPosts
-
April 19, 2016 at 5:07 pm #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?
April 20, 2016 at 5:34 am #891547Hi 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.
April 20, 2016 at 7:11 am #891646That’s the ticket! Thanks. How do I make the large white border around the video smaller (or non-existent)?
April 20, 2016 at 1:56 pm #892318Hi 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!
April 20, 2016 at 2:08 pm #892345to 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>April 20, 2016 at 2:21 pm #892364Thank you both!
April 21, 2016 at 2:10 am #893150You 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!
-
AuthorPosts