• Custom Tabs didn’t work to embed Youtube Video.
    Didnt work with With JetPack by WordPress short code :
    https://www.youtube.com/watch?v=uBEaG6n0XDs

    nor original code from youtube

    <iframe width="560" height="315" src="//www.youtube.com/embed/uBEaG6n0XDs" frameborder="0" allowfullscreen></iframe>

    ??

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hi,

    Thanks for the info. Will check what’s the problem today.

    Best regards,
    Tom

    Thread Starter Taufan

    (@taufanxxx)

    On the Product Info there is an option you provided like %sku% and %total_sales%

    My question is.. how to show “Out of Stock” or “Available” ?

    Thanks,
    Regards

    Algoritmika

    (@algoritmika)

    Hi again,

    I’ve just checked it on our test site. Adding https://www.youtube.com/watch?v=uBEaG6n0XDs did display YouTube video as expected. Could you please send link to your site, so we could check what’s the problem?

    Best regards,
    Tom
    [email protected]

    Algoritmika

    (@algoritmika)

    P.S. Regarding Product Info – at the moment only sku and total sales info can be displayed, however adding stock availability seems like easy thing to add, so we will include it in our next update this Friday.

    Best regards,
    Tom

    Thread Starter Taufan

    (@taufanxxx)

    What code did you use for embed video? New or Old? I think this Tabs only work for Old youtube embed code.

    https://jogjagadget.com/jual/iphone5s/iphone-5s-16gb-32gb-64gb-grey-silver-gold

    On that link i’m use new youtube code. When you hit Video tabs, it’s crash.
    But when i chang it to Old Youtube code it’s working fine.

    Algoritmika

    (@algoritmika)

    I’ve tried using only URL with no iframe tags, that is: https://www.youtube.com/watch?v=uBEaG6n0XDs.
    Is it possible to create temporary admin account for us on your site? Usually it’s the fastest way of solving such issues.

    Best regards,
    Tom
    [email protected]

    Algoritmika

    (@algoritmika)

    Hi,

    Regarding Product Info: as promised, we’ve added %stock_availability% to plugin, as well as some more new shortcodes. Please check v.1.8.2. The list of shortcodes is here – https://woojetpack.com/features/product-info/. Please let me know if you have any questions on how to use the feature.

    Regarding Custom Product Tabs: I did try again on other server, and everything really seems to work fine – the video is displayed as it should. Could you please try to add the same video embed code to WooCommerce default Description tab. Please let me know if video is displayed as expected in that default tab.

    Best regards,
    Tom
    [email protected]

    Thread Starter Taufan

    (@taufanxxx)

    Thanks.
    It’w working like a charm.

    1 more question:

    On the Product Info, Can we use shortcode :

    [youtube https://youtube.com/embed/uBEaG6n0XDs]

    instead of this long and tired link

    <object width="560" height="315"><param name="movie" value="//www.youtube.com/v/uBEaG6n0XDs?version=3&hl=en_US&showinfo=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/uBEaG6n0XDs?version=3&hl=en_US&showinfo=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

    But, it’s not a big isued for me, i just tired to click embed code on youtube, it would be easier for me to just copy the youtube video URL, because i have a lot video to embed on every page i have.

    Thanks,
    You have a beautiful plugins. Andn sorry for my bad english.

    Thread Starter Taufan

    (@taufanxxx)

    I means on the Custom Product Tabs.
    Sorry, i didnt sleep since yestersay.
    Thanks..

    Algoritmika

    (@algoritmika)

    Hi again,

    I’m out of the office already. Will check about [youtube] short code first thing tomorrow.

    Tom

    Algoritmika

    (@algoritmika)

    Hi,

    I’ve just checked the [youtube] shortcode on our test site. It does work in custom tabs, however, as [youtube] shortcode is available on WordPress.com and in Jetpack by WordPress only, but it’s not a part of the core WordPress, you need Jetpack by WordPress plugin installed an activated. Instead you could try [embed width="480" height="360"]URL[/embed]. Found it here – https://www.ads-software.com/support/topic/youtube-short-code-not-working. Again if shortcode is not working – could you please try to use the sortcode not in custom, but in standard Description tab, so we could identify if the problem is in our plugin or not. You could even try to temporary disable our plugin, and see if [youtube] shortcode is working on Description tab.

    Best regards,
    Tom

    Thread Starter Taufan

    (@taufanxxx)

    Hi,
    I already installed JetPack by WordPress since the first time i set my web. And using the latest version of WordPress.

    The youtube shortcode work on every page and product i have, except in the Custom Product Tabs.
    And i dont know why.

    Thread Starter Taufan

    (@taufanxxx)

    [embed]
    
    [/embed]
    
    **********
    
    <iframe width="560" height="315" src="//www.youtube.com/embed/uBEaG6n0XDs" frameborder="0" allowfullscreen></iframe>
    
    **********
    
    [youtube https://www.youtube.com/watch?v=fKd0qtQZtQs]
    
    **********
    
    <object width="560" height="315"><param name="movie" value="//www.youtube.com/v/uBEaG6n0XDs?version=3&hl=en_US&showinfo=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/uBEaG6n0XDs?version=3&hl=en_US&showinfo=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

    From the four youtube code above, The only working code in Custom Product Tabs is only the last code.

    Algoritmika

    (@algoritmika)

    Thanks for detailed explanation.

    I’ve added [youtube] shortcode to our plugin’s site. You can check it here – https://woojetpack.com/shop/wordpress-woocommerce-jetpack-plus/ – in the “What is WooCommerce?” tab.

    My guess is that it has something to do with theme you are using not displaying [youtube] shortcode properly. It looks like when shortcode is not in first Description tab it may require old code to embed. It really hard to say without accessing your site.

    By the way, I checked your page – https://jogjagadget.com/jual/iphone5s/iphone-5s-16gb-32gb-64gb-grey-silver-gold/#tab-local_1, and when with Chrome I open the tab and press “Inspect element” I can see all 4 videos properly, so my guess would be that there is something with css.

    Best regards,
    Tom

    Algoritmika

    (@algoritmika)

    Hi again,

    I’m still searching for the solution. Two things to try to add to your custom CSS:

    iframe {
    display: initial !important;
    }

    and

    .woocommerce-tabs iframe {
    width: 658px !important;
    display: block !important;
    }

    After adding to custom CSS, remove browser cache then reload the page.

    Tom

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Custom Tabs’ is closed to new replies.