• Resolved cheetahwings

    (@cheetahwings)


    Hello! I am trying to get YouTube and Vimeo videos to display in my posts. I’ve never had issue with this before, so I am not sure where the conflict is. I’ve tried the non-hyperlinked URL, and various shortcodes. It seems to be converting to iframe when saved, but the videos are not displaying on the page. Ideas/suggestions?

    Here’s an example. For this one, I pasted the non-hyperlinked URL and it self-converted to an iframe. You’ll see whitespace where the videos are supposed to be.
    http://www.aidemsolutions.com/sonys-new-nex-fs700-ultra-slow-motion-video-is-here/

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try this:

    Open the style.css file and scroll to the bottom.

    Replace:

    iframe {
    	position: relative;
    	z-index: -999 !important;
    }

    With:

    iframe
    {
    	position: relative;
    }

    Save the style.css file and refresh the page.

    @luigi Petrut:Thank you contributing to the forums but please do not encourage people to edit theme files directly. At best, they will lose all of their changes when they update the theme. At worst, they could bring their site down. They should be recommended to create a child theme or use a custom CSS plugin for their changes.

    You’re right @esmi, but the style.css file has already been edited.

    Using a child theme:

    1. Create the twentythirteen-child directory in the themes directory.
    2. Create the style.css file in the twentythirteen-child directory.
    3. Paste the code below in the style.css file.

    /*
    Theme Name: Twenty Thirteen Child
    Template: twentythirteen
    */
    
    @import "../twentythirteen/style.css";
    
    iframe
    {
    	position: relative;
    	z-index: 0;
    }

    4. Activate the child theme from your Dashboard.

    Thread Starter cheetahwings

    (@cheetahwings)

    Perfect, thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘YouTube and Vimeo videos not displaying in posts’ is closed to new replies.