can you try enabling the “also act on normal youtube links” and then use http://youtu.be/HtKTunAxyaM instead of httpv://youtu.be/HtKTunAxyaM (so no “v”)?
frank
Thread Starter
radra
(@radra)
I changed the initial code to http://youtu.be/HtKTunAxyaM (I deleted everythig else, including iframe)
The same result 🙁
See for yourself: http://pizzanapoleon.ro/
I only changed the first video. The rest remained the same.
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,
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?
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?
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)
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.
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