-
AuthorPosts
-
September 29, 2017 at 7:04 pm #858577
I’ve read countless forums with people trying to do this, but nothing seems to work for me.
I have text, that I want to be a link that pops a youtube video in lightbox mode – hopefully from Floating Div Text pluginI have tried
<a href="https://www.youtube.com/watch?v=igoj_-02i1c" rel="lightbox">
and a variety of other techniques…. no go.My page is behind a gate right now but I can provide admin access in private notes.
Thanks in advance!
- This topic was modified 7 years, 1 month ago by 118group.
September 30, 2017 at 12:57 am #858649try this as a link:
https://www.youtube.com/watch?v=igoj_-02i1c?rel=0&autoplay=1&iframe=true
the way you get it :
goto your video – do not take the shortform- goto embed.
if you do not want the recommended films at the end you can setup it here or the code for it is rel=0
copy the iframe link – now the trick:sometimes it does not work with the. …/embed/…. in that case replace it with …/watch?=…
the first setting has to come with a questionmark?
the next options must have a&
– you see it in the code abovesee here: https://webers-testseite.de/youtube/
?rel=0. no videos at the end
&controls=0 Controls off
&autoplay=1 autoplay Option
&iframe=true Lightbox Option
&showinfo=0 videoinformation links at the top right
&start=15 Starting time in sec
&end=28 Endtime of video in sec- This reply was modified 7 years, 1 month ago by Guenni007.
September 30, 2017 at 1:23 am #858653don’t know why the loop function works sometimes and sometimes not ?
btw: if you like to force HD video
&vq=hd720
&vq=hd1080https://www.youtube.com/watch?v=igoj_-02i1c?rel=0&autoplay=1&loop=1&vq=hd720&showinfo=0&iframe=true
look here for link : https://www.classynemesis.com/projects/ytembed/
September 30, 2017 at 2:10 am #858655Hello Guenni007,
Thanks for the awesome tips! The video is playing nice, but it is replacing the whole window, rather than in a lightbox.
I have a floating piece of text in the bottom right. If the user clicks on it, a video pops, but you do not leave the page. Masonry gallery, icon links, and other enfold elements do this… I just cannot figure out the text.
September 30, 2017 at 8:09 am #858692without your site i can not help you. So you have to wait here for a mod.
And you copy paste the above code? Do you have any other lightbox plugin installed – or do you use the included one of enfold?btw. it seems that the sequence of these options are sometimes important.
maybe a
&fs=0
could help you in the link above (Fullscreen disabled)https://www.youtube.com/watch?v=igoj_-02i1c?rel=0&autoplay=1&loop=1&showinfo=0&fs=0&iframe=true
September 30, 2017 at 3:00 pm #858762I think I figured it out…. This doesn’t seem to work on a page where you are also playing a video (full screen slider) that is playing fomr your site… and when I copied and pasted an & turned into a & so the link you provided worked when I fixed that! Thank you!!!!
September 30, 2017 at 5:42 pm #858786yes first option behind video link (v=…) has to be a
?
all the others have to be added by&
October 1, 2017 at 12:21 pm #858883Hi 118group,
Great, glad you got it working. Thanks @guenni007 for helping out :-)
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.