Support » Theme: Minamaze » Unable to Embed Youtube videos with Shortcode

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author ThinkUpThemes

    (@thinkupthemes)

    Hi robertamundson,

    Minamaze doesn’t come with shortcodes so if you’re having a shortcode issue you’ll need to contact the plugin author. or try a new plugin which includes YouTube shortcodes.

    Note if you add the YouTube video at the first media item on teh page then it will be displayed. This is a core WordPress feature and not theme specific.

    Also try this. Switch from Minamaze to the default 2014 theme. If the YouTube video shows then let us know as it may be a conflict.

    @robertamundson you are trying to embed incorrectly and that is why it is not working see below correct way.

    1: Make sure on the page you are editing you select text from the visual/Text tabs
    2: on youtube select Share tab under the video then > embed
    3: this will give you the following code for your above video
    <iframe width=”853″ height=”480″ src=”//www.youtube.com/embed/vynu4_0ERp0?rel=0″ frameborder=”0″ allowfullscreen></iframe>
    4: Paste this into the location you wish for it to show up in
    5: select the visual tab and you will see a yellow outlined box representing the video, now publish and view the page and you will see your video embedded and working how it should.

    note: that you adjust the size of the video to suit your theme by changing the dimensions in the embed code as above width 853 height 480 keeping proportions in mind.
    note2: embed codes do not use shortcodes so don’t wrap it in [ brackets ]

    @robertamundson just checked your site and you need to cut all of the short codes you have pasted and change from visual tab to text tab to get them to show correctly.

    For example here is one you have on your page [restabs alignment=”osc-tabs-center” responsive=”false” tabcolor=”#ededed” tabheadcolor=”#7a7a7a” seltabcolor=”#ff91a9″ seltabheadcolor=”#6d6d6d” tabhovercolor=”#ffbfd0″ contentcolor=”#f4f4f4″]

    select visual tab and highlight the shortcode and select cmd x (mac) or ctrl x (pc) then select text tab and paste it in the same location and click publish, now view your site and see it all working correctly. repeat the same for all other short codes not working.

    I’m having a similar problem and I’m finding that the Minamaze theme is ignoring the width and height values:

    <iframe width=”320″ height=”215″ src=”//www.youtube.com/embed/WKwed2DtRMI” frameborder=”0″ allowfullscreen></iframe>

    Is using the maximum width and seems to be cropping.
    Has this been resolved yet?

    For testing purposes, I have switched to the default 2014 theme and there the YouTube video shows with the correct size.

    Switching back to the Minamaze theme again ignores my width and height.

    Theme Author ThinkUpThemes

    (@thinkupthemes)

    Hi Goose,

    Please abide by forum rules and don’t post an issue to an existing ticket. For new issues please open a new ticket. You’ll get a response in-ticket. Note, the support team here are all volunteers, so it can take sometime for someone to find time to help.

    For the size you’ll need to use the standard approach when dealing with fully responsive themes like Minamaze. So use shortcodes to restrict the size or something similar.

    <div style="width: 320px;"><iframe width="320" height="215" src="//www.youtube.com/embed/WKwed2DtRMI" frameborder="0" allowfullscreen></iframe></div>

    For the video above wrap a div around the iframe and add the width to the div rather than the iframe.w

    Oh, sorry about that will do…I have opened a new ticket.
    I just wanted to add information, but you’re totally right…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unable to Embed Youtube videos with Shortcode’ is closed to new replies.