Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #750961

    @lg21: I would like to take a closer look at this problem on your site, you can PM me the URL & admin account.

    Ninja Lead Moderator
    #750997

    <em>@lg21 496194 wrote:</em><blockquote>I have the same problem
    I uploaded this video on youtube:

    https://www.youtube.com/watch?v=WriUoBVyhsA

    thumbnail not see, I checked the code, ist automatically generates this
    http://img.youtube.com/vi/https:WriUo/0.jpg

    while this is the correct one
    http://img.youtube.com/vi/WriUoBVyhsA/0.jpg

    How do I correct the address of the thumbnail?

    Thank you</blockquote>

    I spent a lot of my time to debug the problem on your site and you can use both ways below to fix:

    1) Add the link <iframe width=”560″ height=”315″ src=”http://www.youtube.com/embed/WriUoBVyhsA” frameborder=”0″ allowfullscreen></iframe> without https:// into article on your site (your site is working with this way)

    2) Using my solution below and you can add the link with http:// and https://

    Open templates/ja_fubix/html/mod_jacontentpopup/default_item.php file

    find and change

    $vid = str_replace(
    array(
    'http://youtu.be/',
    'http://www.youtube.com/embed/',
    'http://youtube.googleapis.com/v/',
    '//www.youtube.com/embed/'), '', $iframesrc[1][0]);

    to

    $vid = str_replace(
    array(
    'http://youtu.be/',
    'http://www.youtube.com/embed/',
    'https://www.youtube.com/embed/',
    'http://youtube.googleapis.com/v/',
    '//www.youtube.com/embed/'), '', $iframesrc[1][0]);

    Hope this helps.

    lg21 Friend
    #751024

    Perfect Ninja thanks

Viewing 3 posts - 16 through 18 (of 18 total)

This topic contains 18 replies, has 4 voices, and was last updated by  lg21 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum