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

    INFO B
    Participant

    Hi,

    I tried to embed a youtube in and out side the accordion but I feel like the short codes are not working properly. Can you please give the new updates on the short codes or a better way to have my video working.

    Thanks

    #4708

    Rubin
    Keymaster

    Hey,

    can you show me the code you are using? Preferable the whole code with the accordion and the video in it.

    #4769

    INFO B
    Participant

    Here is the code

    [accordion id="my-accordion"] [accordion_item parent_id="my-accordion" title="On Going Migraine" ] [x_video_embed no_container=”true”] <iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/Jj9q6wAwlnM?list=UUzX2JCIA5ueGch2aZ4ojspA” frameborder=”0″ allowfullscreen></iframe> [/x_video_embed]Testimonial Video will be available soon [/accordion_item] [accordion_item parent_id="my-accordion" title="Shoulder, Back & Chest Pain"] Before I started Chiropractic care, I suffered from neck, shoulder, back and chest pain. I also suffered from insomnia. Since receiving care, I’m able to strengthen my shoulders in order to better my active lifestyle and to better my progress in rock climbing. I know stand straighter, more erect with my shoulders back. My head is aligned with my spine.
    -Bryan. [/accordion_item] [/accordion]

    #4783

    Kory
    Keymaster

    UPDATE: my unstyled double quotes appear to have been altered in posting here in the forum. Make sure to check our your original example code with my example code below to see the difference between the two types of quotes. Thanks!

    Hey there,

    Thanks for that, I was able to see right away what the problem was. Somehow your double quotes () got changed out for styled quotes () in a few different instances in the <iframe> itself. Even though these look very similar, to WordPress they are quite different. Always make sure to scan your code before pasting in to ensure that all quotes are not styled so that your markup can get parsed correctly. Below is the altered code that I have tested myself in our development environment:

    [x_video_embed no_container="true"]<iframe width="560" height="315" src="//www.youtube.com/embed/Jj9q6wAwlnM?list=UUzX2JCIA5ueGch2aZ4ojspA" frameborder="0" allowfullscreen></iframe>[/x_video_embed]Testimonial Video will be available soon
    Before I started Chiropractic care, I suffered from neck, shoulder, back and chest pain. I also suffered from insomnia. Since receiving care, I’m able to strengthen my shoulders in order to better my active lifestyle and to better my progress in rock climbing. I know stand straighter, more erect with my shoulders back. My head is aligned with my spine. -Bryan.

    Let us know if you need anything else, thanks!

    #4985

    INFO B
    Participant

    Hi,

    I tried to to copy and pass the quote, but I still get the same problem. No video is showing.

    Is this a problem fixed with the new updates?

    #5026

    Rubin
    Keymaster

    Hey,

    make sure that you are viewing it on the live site and not in the preview mode since in the preview mode the iframe won’t get displayed. So first publish the page then view the page instead of clicking on the preview button. Hope this helps.

    #5048

    INFO B
    Participant

    I did that … I don’t know what’s the problem with the coding even when I try with the map I get the same problem… is it because I’m using safari?

    #5049

    INFO B
    Participant

    Also,

    how do you scan your codes?

    #5054

    Rubin
    Keymaster

    Hey,

    what do you exactly mean with “how do you scan your codes?”.

    I’ve changed the url path of the youtube video so please try it now and don’t forget to check it on a live page and not the preview.

    [x_video_embed no_container="true"]<iframe width="560" height="315" src="http://www.youtube.com/embed/Jj9q6wAwlnM?list=UUzX2JCIA5ueGch2aZ4ojspA" frameborder="0" allowfullscreen></iframe>[/x_video_embed]Testimonial Video will be available soon
    Before I started Chiropractic care, I suffered from neck, shoulder, back and chest pain. I also suffered from insomnia. Since receiving care, I’m able to strengthen my shoulders in order to better my active lifestyle and to better my progress in rock climbing. I know stand straighter, more erect with my shoulders back. My head is aligned with my spine. -Bryan.

    I just did use that code on a new blank page and it works fine and shows the accordion and the youtube video in it. Let me know if it works. Sorry for the inconvenience.