Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 plugin

    I 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.
    #858649

    try 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 above

    see 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.
    #858653

    don’t know why the loop function works sometimes and sometimes not ?

    btw: if you like to force HD video
    &vq=hd720
    &vq=hd1080

    https://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/

    #858655

    Hello 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.

    #858692

    without 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

    #858762

    I 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!!!!

    #858786

    yes first option behind video link (v=…) has to be a ? all the others have to be added by &

    #858883

    Hi 118group,

    Great, glad you got it working. Thanks @guenni007 for helping out :-)

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.