Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #619780

    AmyJDyson
    Participant

    I have tried so many different ways of embedding a YouTube video, yet I can’t get it to work properly using Cornerstone. I receive all types of errors showing code, etc. Since the rest of the page is built with Cornerstone, I can’t revert to the former method using Visual Composer to embed a video. I have looked for the answer, to no avail, in the X theme forums and Knowledge Base, et al. Can someone please give me the directions for this seemingly easy task? How can I correctly embed a YouTube video with a Cornerstone video player element?

    MANY THANKS!

    #619798

    moderndeceptions
    Participant

    strange. I don’t know much about all this coding stuff but all I did was get the embed code from the video then paste it in to a element labelled video embed. weird it’s not working for you

    James

    #619818

    AmyJDyson
    Participant

    I found what was preventing it from working properly…all fixed now! THANKS!

    #620039

    Rue Nel
    Moderator

    Hi James,

    We are glad you’ve figured out a way to resolve your issue.
    Thanks for letting us know!

    If you need anything else we can help you with, don’t hesitate to open another thread.

    #680143

    indiavidual
    Participant

    hey amy,

    having the same issue. using the element, adding the code but the only thing i get is the container showing the border but with white space in it. after clearing the cache it shows the same in firefox. in chrome it does not appear at all. on both browser with inspect elements it is in the code.

    how did you fix it?

    thanks for your support

    UPDATE: some work some dont but all are from youtube. so what is the solution to that?
    CHECK here: first works second does not -> http://drinkingwaterbenefits.com/where-does-water-come-from/

    #680342

    Zeshan
    Member

    Hi there,

    Thanks for writing in! We’ll wait and see if Amy sees this, but let us know if you need anything further.

    Meanwhile, I’ve checked your attached page and both Youtube videos are working fine at my end (see: http://prntscr.com/9784r8 & http://prntscr.com/9785xv). Would you mind confirming the issue again?

    Thank you!

    #680349

    indiavidual
    Participant

    thanks for your prompt response.

    it does appear now in chrome as well. not sure why cause i have emptied the cache.

    there is another issue i like to solve though: it regards the padding of the x-video.embed.with-container class. currently it shows it at 2.5% (i guess as a standard setting). i would like to have it at 0px. tried it via the child-theme style.css but it does not take the change.

    do you have a solution.

    many thanks!

    #680502

    Darshana
    Moderator

    Hi there,

    Please try adding the following CSS rule into your child theme’s style.css file.

    
    .with-container {
        padding: 0 !important;
    }
    

    Hope that helps.

    #687621

    indiavidual
    Participant

    hi there,

    i went with

    .x-video.embed.with-container {
    padding: 0; !important;
    }

    since it is about the video embed and not all container. but what i forgot to check was the “!important”.

    thanks

    #687867

    Paul R
    Moderator

    Hi,

    Glad you were able to figure it out.

    Have a nice day!

    #718867

    cvdw
    Participant

    Hi, tried everything except the right thing ofcourse 😉

    I work with cornerstone and want to put a youtube video in embedded video

    where excactly did you put the code “.x-video.embed.with-container {
    padding: 0; !important;
    }” ?

    I am a starter with cornerstone so just to be clear, I choose “embedded video” in Cornerstone and than what?

    thanks,Robert

    #718951

    Thai
    Moderator

    Hi Robert,

    Try adding that CSS under Customize > Custom > CSS:

    .x-video.embed.with-container {
    padding: 0; !important;
    }

    Hope it helps.

    #718965

    cvdw
    Participant

    I solved it!

    #719188

    Friech
    Moderator

    Glad you sorted things out. Cheers!