1 (edited by Chad 2022-10-19 02:42:08)

Topic: YouTube videos keep disappearing, Why?

I don't understand, someone will notify me a YouTube video is no longer on the website.  The only thing I have figured out is to do a Full Upload of the entire site, and even then they will randomly start disappearing.

It is not showing up in Crome, but I can see the YouTube Video in Firefox, Brave, and MS Edge.  I try hard refreshing Crome, but still no good.  If I use incogneto with Crome, it still doesn't show the video. 

There has been times when someone told me they use MAC, but I don't recall which browser they used when they couldn't see the video. 

Is anyone else having this issue?  What is causing it and how can it be fixed?

Re: YouTube videos keep disappearing, Why?

How are you loading the link to the video into your site? If you are using the webplus youtube widgit it may be because the html in the code link is http instead of https. This can be changed by right click the video > Convert to > HTML fragment. Double click the fragment to open it and in line beginning

<iframe src="http:

place an s after http to give

<iframe src="https:

Joe

I used to be indecisive, now I'm not so sure.

3 (edited by Chad 2022-10-19 14:53:07)

Re: YouTube videos keep disappearing, Why?

Joe wrote:

How are you loading the link to the video into your site? If you are using the webplus youtube widgit it may be because the html in the code link is http instead of https. This can be changed by right click the video > Convert to > HTML fragment. Double click the fragment to open it and in line beginning

<iframe src="http:

place an s after http to give

<iframe src="https:

Joe

Thank you Joe!  This seems to have fixed the issue.

Is there a way to convert the HTML fragment back to the YouTube widget to see the image and change widget customization?  Also, is there a way to set the website default for all additional YouTube widgets to include the "s" in the html?

Re: YouTube videos keep disappearing, Why?

Chad wrote:

Is there a way to convert the HTML fragment back to the YouTube widget to see the image and change widget customization?

No, it’s strictly one way, but if you put a copy of the widget on the pasteboard you can go back to it at any time.

Chad wrote:

Also, is there a way to set the website default for all additional YouTube widgets to include the "s" in the html?

Not as far as I’m aware.

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

Re: YouTube videos keep disappearing, Why?

Alfred wrote:
Chad wrote:

Is there a way to convert the HTML fragment back to the YouTube widget to see the image and change widget customization?

No, it’s strictly one way, but if you put a copy of the widget on the pasteboard you can go back to it at any time.

Chad wrote:

Also, is there a way to set the website default for all additional YouTube widgets to include the "s" in the html?

Not as far as I’m aware.


Thanks Alfred, I will keep copies.

Re: YouTube videos keep disappearing, Why?

New problem.  I had several YouTube vids throughout the site, added the "s" and all videos playing fine after doing a full upload of entire site.  The new problem, for whatever reason the NAV BAR and most hyperlinks on the Home Page no longer work, but the NAV BAR works on other webpages.  I tried doing a reupload of entire site, then just home page, then changed things on home page to do upload, and still not working.

Re: YouTube videos keep disappearing, Why?

Chad wrote:

The new problem, for whatever reason the NAV BAR and most hyperlinks on the Home Page no longer work, but the NAV BAR works on other webpages.

The most common reason for a navbar or a hyperlink not working is that it’s covered by a transparent object such as an empty text frame.

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

8 (edited by Chad 2022-10-20 14:44:10)

Re: YouTube videos keep disappearing, Why?

Alfred wrote:
Chad wrote:

The new problem, for whatever reason the NAV BAR and most hyperlinks on the Home Page no longer work, but the NAV BAR works on other webpages.

The most common reason for a navbar or a hyperlink not working is that it’s covered by a transparent object such as an empty text frame.


NAV BAR and hyperlinks stopped working on each page with a YouTube video that I added the "s" to the html.  I removed a video from the homepage and the did a full upload and the NAV BAR started working again, so this issue seems to be related to me adding the "s" to the YouTube html.  This website does not have SSL certificate, I wonder if this is part of the issue.

Also, no other changes were made to the webpages, so other objects are interfering with the navbar.

Re: YouTube videos keep disappearing, Why?

This website does not have SSL certificate, I wonder if this is part of the issue.

Also, no other changes were made to the webpages, so other objects are interfering with the navbar.

The https is a link and should not affect anything on the webplus site. After you mage the upload without the video did you not do another upload to see if the problem repeats?

Another possible solution may be the following which may or may not work:

Use the youtube widget without converting to html
Copy the following code

<script>

jQuery(document).ready(function($) {
  $("iframe").each(function() {
    var $frame = $(this)
    $frame.attr('src', $frame.attr('src').replace('http:', 'https:'))
  });
});

</script>

On the page with the widget do Insert > HTML Fragment > Click on the page >Click "Paste to head" > Check the box "Include jquery script" > OK

As you can see in the code it replaces http in the iframe with https. Do an upload and see if it works.

Joe

I used to be indecisive, now I'm not so sure.

Re: YouTube videos keep disappearing, Why?

Joe wrote:

This website does not have SSL certificate, I wonder if this is part of the issue.

Also, no other changes were made to the webpages, so other objects are interfering with the navbar.

The https is a link and should not affect anything on the webplus site. After you mage the upload without the video did you not do another upload to see if the problem repeats?

Another possible solution may be the following which may or may not work:

Use the youtube widget without converting to html
Copy the following code

<script>

jQuery(document).ready(function($) {
  $("iframe").each(function() {
    var $frame = $(this)
    $frame.attr('src', $frame.attr('src').replace('http:', 'https:'))
  });
});

</script>

On the page with the widget do Insert > HTML Fragment > Click on the page >Click "Paste to head" > Check the box "Include jquery script" > OK

As you can see in the code it replaces http in the iframe with https. Do an upload and see if it works.

Joe


Not Working Again.  I feel like I'm on a rollercoaster. OK, latest update.  I finally paid the money to implement SSL to all my websites and now this widget option is no longer working.  The earlier suggested idea to convert the widget to html fragment still works to play the YouTube video, but the navbar and hyperlinks on the same page still don't work. 

My other websites are still working fine thankfully, it is just this one site giving me a nightmare.

11

Re: YouTube videos keep disappearing, Why?

Final proposal:

Instead of using the youtube widget do Insert > Document frame > Click on contents tab > internet page > enter video as

https://www.youtube.com/embed/sDGRag77bFs

Replace sDGRag77bFs with your video id.

Drag the frame ouyt to the size you want your video.

If this does not work for you then I would revert back to Alfreds comments about the most common reasons.

Joe

I used to be indecisive, now I'm not so sure.