Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #11444
    fengshuimaster
    Participant

    How to set up for vimeo?

    #11445
    fengshuimaster
    Participant

    Sorry, I think is the ?autoplay=1 is not working

    #11448
    fengshuimaster
    Participant

    My sample code:

    <a href="https://vimeo.com/41261299?autoplay=1" rel="lightbox">See best vimeo</a>

    #11471
    Bartosz
    Keymaster

    Looks like the autoplay parameter is being removed while applying lightbox.
    This is RL related bug – we’re taking care of it now.

    #11472
    Bartosz
    Keymaster

    We’ve fixed this – it was Lightcase related. We’ll push an update shortly.

    #11479
    fengshuimaster
    Participant

    Very glad to heat that.

    Just check with you, i read in other post that the code shoud be

    data-rel= instead of rel= only. However, when I use data-rel=, lightbox not active. So should I continue with rel=

    Thanks

    #11480
    Bartosz
    Keymaster

    You should remove that (rel is not the correct syntax since RL version 1.5) and enable Video support in Responsive Lightbox settings – it will be handled automatically – you just create a video link in your post content.

    #11509
    fengshuimaster
    Participant

    I still cannot get it to work with the latest version.

    1. Video Link placed in widget area.

    2. Enabled video support in setting. Code <a href="https://vimeo.com/41261299?autoplay=1">See best vimeo</a> does not work, directed to vimeo page instead.

    3. With rel="lightbox", lightcase worked but empty white screen in the middle.

    4. With data-rel="lightbox", it directed to vimeo page.

    Where did I make a mistake?

    Thanks & regards

    #11525
    Bartosz
    Keymaster

    Thing is RL does not support this for widgets – WordPress itself does not provide enough tools to do that.

    But maybe we find a workaround – are you using this code in default WP Text Widget?

    #11534
    fengshuimaster
    Participant

    Yes. Using the default text widget. If it can’t be done, then I will need to return for a refund. Try your best. Thank you.

    #11548
    Bartosz
    Keymaster

    If you are using default widget this should work:

    /**
     * Add lightbox to default text widget content.
     * 
     * @param mixed $content
     * @return mixed
     */
    function df_text_widget_lightbox( $content ) {
    	if ( class_exists( 'Responsive_Lightbox' ) ) {
    		// automatically add lightbox to video links
    		$content = Responsive_Lightbox()->frontend->add_videos_lightbox_selector( $content );
    		// automatically add lightbox to single images
    		$content = Responsive_Lightbox()->frontend->add_links_lightbox_selector( $content );
    	}
    	return $content;
    }
    
    add_filter( 'widget_text', 'df_text_widget_lightbox' );
    #11549
    PeterJRees
    Participant

    Autoplay doesn’t appear to be working for YouTube links either – I’m using the following code:

    <a href="https://www.youtube.com/watch?v=uE6OLhJ97RI&autoplay=1" rel="lightbox">

    Any update on this?

    #11550
    Bartosz
    Keymaster

    This is not the correct syntax.

    If you handle that manually please use data-rel=”lightbox” or data-rel=”lightbox-video-n” where n is the unique video number.

    But for video links in post content you don’t have to add anything, just enable support for video links.

    #11557
    fengshuimaster
    Participant

    Hi Bartosz,

    Whether it is non rel, rel or data-rel, all three pop up a blank white screen in the middle.

    Also, realised that even though I inserted one video link in 1 widget, and I have 4 widgets (so there are 4 videos), there are group together meaning I can browse 1/4, 2/4, 3/4 and 4/4. But still white screen in middle.

    #11577
    fengshuimaster
    Participant

    What I found out:

    1. In version 1.02, we can still load the lightbox for vimeo in widget but autoplay does not work. Have to click manually to play the video. (Desktop)

    2. In version 1.03, lightbox only shows white screen in middle. (Desktop)

    3. In version 1.03 with the additional codes, lightbox only shows white screen in middle. (Desktop)

    4. In version 1.03, rel=”lightbox” shows white screen, data-rel=”lightbox” shows white screen and data-rel=”lightbox-video-5130637″ shows white screen. (5130637 is the vimeo number used for testing).

    5. In version 1.03, in post and page, it does autoplay vimeo and youtube videos.

    #11623
    fengshuimaster
    Participant

    Hi there,

    Any update on this?

    Should I wait for a while longer or return the product for refund and to buy when it is ready?

    Thanks in advance.

    #11626
    Bartosz
    Keymaster

    Can we have a look at your site @fengshuimaster?

    #11630
    fengshuimaster
    Participant
    This reply has been marked as private.
    #11766
    fengshuimaster
    Participant

    Hi there, I have requested for the refund twice but have not received any update from your side yet. Do you think if you can inform me the tentative date for refund? Thanks.

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