• radra

    (@radra)


    I have 4 videos in a slider.

    this is how it looks now the link to youtube video for slide1:

    <iframe src=”https://www.youtube.com/embed/HtKTunAxyaM?autoplay=0&controls=0&#8243; width=”540″ height=”305″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>

    I have tried to use your plugin, but the link:
    httpv://youtu.be/HtKTunAxyaM

    is not working properly (when I click play then the slider moves to the next slide) and the video continues to play, even for the slides that are not visible)

    Can you help me fix this?

    Thanks,
    Radu

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Frank Goossens

    (@futtta)

    can you try enabling the “also act on normal youtube links” and then use https://youtu.be/HtKTunAxyaM instead of httpv://youtu.be/HtKTunAxyaM (so no “v”)?

    frank

    Thread Starter radra

    (@radra)

    I changed the initial code to https://youtu.be/HtKTunAxyaM (I deleted everythig else, including iframe)
    The same result ??

    See for yourself: https://pizzanapoleon.ro/
    I only changed the first video. The rest remained the same.

    Plugin Author Frank Goossens

    (@futtta)

    OK, now understand the problem; there’s an event-handler (onclick) on the lyte player, but there’s also an onclick event handler on the entire slide, so clicking on lyte video triggers both. easy solution would be to check if there’s an option in your slider’s settings for it not to move to the next slide when clicking on the active slide (which seems weird somehow, from a UX point of view, but what do I know).

    I will also look into this from my side in the code to see if I can stop this from happening ..

    Thread Starter radra

    (@radra)

    Frank,

    There is nothing I can do on my side (actually I don’t know how to do it)
    So you are the only hope for solving this issue.

    Thanks in advance,

    Plugin Author Frank Goossens

    (@futtta)

    no slider settings hidden away in the menu/ theme settings somewhere? :-/

    Thread Starter radra

    (@radra)

    `no ??

    probably this is why the youtube was put inside an iframe.

    your YT links can’t work properly inside an iframe?

    Plugin Author Frank Goossens

    (@futtta)

    depends on my other work, but I’ll probably have a solution as early tomorrow or later this week. i’ll keep you posted!

    Thread Starter radra

    (@radra)

    Great! I can’t wait to see it working.

    By the way, I tried the audio-only youtube playback:
    [lyte id=”aH9_thgpHBk” audio=”true” /]
    and
    httpa://www.youtube.com/watch?v=aH9_thgpHBk

    and none of them work (the video is played and can be seen). Is there a catch? The youtube video has to be special?

    I wanted to use this audio version of a youtube video to save bandwidth. This is how it is supposed to work, right?

    Plugin Author Frank Goossens

    (@futtta)

    there’ll be no bandwidth saved even if you succeed in doing audio-only (which is officially not allowed by YT by the way); the player simply tries to hide the actual video.

    Thread Starter radra

    (@radra)

    have you found a solution for my problem?
    (playing the YT video inside a iframe inside a slider)

    Plugin Author Frank Goossens

    (@futtta)

    darn, thought I had posted it here already, my bad ..

    you can use this code to remove the onclick event handler from the slider;

    jQuery(".rsContainer").off('click');

    hope this helps,
    frank

    Thread Starter radra

    (@radra)

    Frank,

    Please forgive my ignorance, but I don’t know where and how to use the line you sent me.

    Plugin Author Frank Goossens

    (@futtta)

    ah, no problem ??

    so this is javascript, which you can add e.g. to a text widget like this;
    <script>jQuery(".rsContainer").off('click');</script>

    that text widget should at least be added to your homepage, but it would not be a problem if it would appear elsewhere as well.

    hope this clarifies,
    frank

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘correct parameters?’ is closed to new replies.