Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3587037
Hyperlink to YouTube video says "www.youtube.com refused to connect"
Closed

Comments

  •  1
    ArtWeThereYet started the conversation

    I wrote three blog articles and oftentimes I direct readers to watch a Youtube video by making a simple hyperlink.  I am not trying to embed the Youtube video in the page, but rather to send the reader to the video by creating a simple hyperlink in the text.  Like this:

    Example: To check out what this hike looks like, watch this episode.

    I just noticed that every single hyperlink I created does the same thing.  Instead of sending the reader to Youtube to watch the video, a lightbox opens with the error message "Youtube refused to connect." Screenshot attached.

    Why is this happening and how can I fix it?

    I did not expect the hyperlink to open a lightbox.  But I do actually like that it does.  I need the lightbox to play the video, or I need the link to properly direct the reader to the video on Youtube.  

    This issue is happening on every link on each of these pages:

    Thank you for your help!

    Attached files:  Screenshot 2024-02-17 at 9.38.28 PM.png
      Screenshot 2024-02-17 at 9.40.25 PM.png

  •  2,610
    PenciDesign replied

    Hi,

    You must ensure the URL contains embed rather watch as the /embed endpoint allows outside requests, whereas the /watch endpoint does not.

    Regards,
    PenciDesign.


  •  1
    ArtWeThereYet replied

    Thank you for your reply.   However, I am still having a problem.  

    I replaced the link with /embed/ version, but I am still getting an error.  Please see the attached screenshots.



    Attached files:  Screenshot 2024-02-18 at 3.22.11 AM.png
      Screenshot 2024-02-18 at 3.23.59 AM.png
      Screenshot 2024-02-18 at 3.27.30 AM.png
      Screenshot 2024-02-18 at 3.28.49 AM.png

  •  1
    ArtWeThereYet replied

    Attached is a screenshot of every variation of the URL I have tried.  They all produce an error message.

  •  1
    ArtWeThereYet replied

    Attached is a screenshot of every variation of the URL I have tried.  They all produce an error message.

    Attached files:  Screenshot 2024-02-18 at 3.57.51 AM.png

  •  2,610
    PenciDesign replied

    Hi,

    For this case, please send me your WordPress admin account in a PRIVATE reply.
    I'll log in and try to help you check this problem.

    Regards,
    PenciDesign.



  •   ArtWeThereYet replied privately
  •  2,610
    PenciDesign replied

    Hi,

    I've checked your site, the problem maybe come with the Lightbox JS code.

    If you want to use this feature on the current Soledad version, please try to install the YouTube WordPress Plugin by Embed Plus plugin and follow the document at this link: https://wordpress.org/plugins/youtube-embed-plus/

    Regards,
    PenciDesign.



  •  1
    ArtWeThereYet replied

    Hi there,

    Thank you for looking at it.  When you say the problem might be from the "Lightbox JS code", is this related to any plugins that I have installed?  Is it related to the Responsive Lightbox & Gallery plug in I have?

    Or is the "Lightbox JS code" part of the theme itself?

    In the meantime, I will try the recommended plug in and see if that fixes the problem.

  •  2,610
    PenciDesign replied

    Hi,

    Yes. The problem comes with the Responsive Lightbox & Gallery plugin.

    Regards,
    PenciDesign.


  •  1
    ArtWeThereYet replied

    Hello there!

    The plug-in now seems to be working properly, allowing the video to play within a lightbox when I use this form of the YouTube URL.  

    1044061598.png

    However, when I try to get the lightbox to play the video starting at a certain time, I get an error.

    Do you know how I can write the link so that the lightbox plays a video at a certain time

    I have tried the link in all of these forms.  They all give an error message. 

    9825923683.png

    Do you know how I can write the link so that the lightbox plays a video at a certain time?  I would appreciate the help so much!

    PS -  For anyone who finds this thread  here is the setting to stop the plugin from making a lightbox.  If you uncheck this box, then the plugin will disable the lightbox for video feature.  It's under Lightbox > General 

    7358112960.png
  •  2,610
    PenciDesign replied

    Hi,

    It's possible that the plugin you installed doesn't include the functions supporting YouTube timing. Please reach out to the plugin author to obtain an effective solution.

    Regards,
    PenciDesign.