inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,886
January 2003
bigballofyarn
|
Post by bigballofyarn on Nov 3, 2024 2:53:41 GMT -8
recycledferret, Maybe check again? I couldn't wager to guess what happened on my forum immediately following the upgrade, but everything is working again. The "outage" was temporary.
|
|
inherit
224118
0
Oct 24, 2017 19:44:49 GMT -8
lordroel
270
August 2015
lordroel
|
Post by lordroel on Nov 3, 2024 3:06:55 GMT -8
recycledferret , Maybe check again? I couldn't wager to guess what happened on my forum immediately following the upgrade, but everything is working again. The "outage" was temporary. Neither 0.0.5 ore 0.2.1 work for me on my forum.
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,886
January 2003
bigballofyarn
|
Post by bigballofyarn on Nov 3, 2024 3:17:11 GMT -8
recycledferret , Maybe check again? I couldn't wager to guess what happened on my forum immediately following the upgrade, but everything is working again. The "outage" was temporary. Neither 0.0.5 ore 0.2.1 work for me on my forum. Interesting. 0.2.1 didn't work for the first hour that it was installed, and then all of a sudden all the embeds populated in new and old threads. If you go to the "oEmbed Sites" tab, did you make sure that "Get List of Providers" is checked?
|
|
inherit
224118
0
Oct 24, 2017 19:44:49 GMT -8
lordroel
270
August 2015
lordroel
|
Post by lordroel on Nov 3, 2024 3:42:12 GMT -8
Neither 0.0.5 ore 0.2.1 work for me on my forum. Interesting. 0.2.1 didn't work for the first hour that it was installed, and then all of a sudden all the embeds populated in new and old threads. If you go to the "oEmbed Sites" tab, did you make sure that "Get List of Providers" is checked? Seems i have to wait a bit then.
|
|
inherit
260572
0
Nov 13, 2024 4:05:07 GMT -8
recycledferret
55
March 2020
recycledferret
|
Post by recycledferret on Nov 3, 2024 3:47:45 GMT -8
Neither 0.0.5 ore 0.2.1 work for me on my forum. Interesting. 0.2.1 didn't work for the first hour that it was installed, and then all of a sudden all the embeds populated in new and old threads. If you go to the "oEmbed Sites" tab, did you make sure that "Get List of Providers" is checked? Well that fixed my issue. The box wasn't checked by default. I checked it and I'm good.
|
|
inherit
260572
0
Nov 13, 2024 4:05:07 GMT -8
recycledferret
55
March 2020
recycledferret
|
Post by recycledferret on Nov 3, 2024 7:54:50 GMT -8
OK that didn't last long. All embeds are broken with the new version. I just see links.
But the old version works.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 5, 2024 0:51:00 GMT -8
Version 0.1.0 and up can download an updated list of websites that support the oEmbed protocol rather than using the stale (and abbreviated) one embedded within the plugin (i.e., you would need this dynamic download feature to get Bluesky since Bluesky embeds did not exist when v0.0.5 came out). It also needs to be downloaded because the list has grown too big to fit in a plugin even when compressed. The older list that comes with the plugin had to be split into two parts to take advantage of two JS components of 64K max each. There are apparently several issues at play here - . The proxy server api.allorigins.win is no longer functional (it returns a 502 bad gateway error). The other proxy that ships with the default plugin config is corsproxy.io, which still forwards requests to the various websites. I do, however, recall corsproxy.io being unable to do redirects, which is why api.allorigins.win was added.
- The second issue is that an error occurs when downloading the updated list, possibly due to the browser stepping in when the website erroneously sets the content type as "text/plain" rather than "application/json," setting off a CORS preFlight rejection.
- The third issue is the proxy server itself, or the provider may have temporarily blocked your IP if it kept seeing multiple requests each time someone loaded a page on the forum due to the inability to save and reuse requests properly. This could be temporary or not, depending on the proxy server and what threat level it assigned to you. You can find alternate servers here or via Google. You can also create your own private service worker proxy using a free account at Cloudflare and some code copied from github.
To get around the first issue, you can either delete the defunct provider or drag another to the top of the listFor the second issue - set check for updates to never
- go to any thread on your forum and hit [F12] to bring up your web console then paste the following in the console
localStorage['oEmbed_providers']=`PASTE_JSON_CONTENT_HERE`; localStorage['oEmbed_providers_time']= +new Date;
- then go to the website (oembed.com/providers.json) in another tab or window and select all [CTRL+A] then copy [CTRL+C] then go back to the console and overwrite PASTE_JSON_CONTENT_HERE with the JSON you just copied from the website
- Hit ENTER to save. The next time the plugin runs, it will see and use that new list instead of the older one and will never check for an update, thus avoiding the error that crashed it, preventing it from rendering any embeds.
When I get the chance, I will try to devise a more permanent solution and perhaps post a detailed step-by-step on how to create your own free Cloudflare proxy* if anybody is interested. You can create a proxy for exclusive use on your forum and do not worry that whoever is in control of that proxy will not steal your and your members' data or, even worse, modify the responses since they are literally the middleman.
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,886
January 2003
bigballofyarn
|
Post by bigballofyarn on Nov 5, 2024 3:22:34 GMT -8
Regarding steps 3 and 4, those are fine for me to play around with, but I would not expect any of my members to do that on their end. I'll take a look at the newest version again later. If I have any valuable feedback, I'll update this post.
Edit: It was just the same thing again. 0.2.1 broke all embeds in previous posts and I put back 0.0.5.
|
|
inherit
269114
0
Nov 14, 2024 20:54:50 GMT -8
jagerbomber
8
February 2024
jagerbomber
|
Post by jagerbomber on Nov 5, 2024 14:09:13 GMT -8
What I don't get is (0.2.1 Beta) Sometimes I can get "Check Embed" (BlueSky) to work, but then it doesn't work in the post itself after Create Link. Or by just posting it normally either.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 8, 2024 5:55:33 GMT -8
What I don't get is (0.2.1 Beta) Sometimes I can get "Check Embed" (BlueSky) to work, but then it doesn't work in the post itself after Create Link. Or by just posting it normally either. WYSIWYG hooking is done in a separate context, so it is not subject to the crash that occurs * when downloading a new list of providers. Setting update frequency to never (step 1) allows it to use the last previously downloaded list provided you have a previously downloaded list already in the browser's local storage (follow step 2+ to manually download or update the list). It is heartening to see that bigballofyarn is not the only one using the plugin. Let's see if we can create more network errors so more people can come out of the woodwork Seriously though, feedback (good or bad) encourages me to continue and not treat this as just an academic exercise. Try at least liking the plugin topic if you are using it, you can always unlike if it did not deliver for you or better yet suggest a change.
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,886
January 2003
bigballofyarn
|
Post by bigballofyarn on Nov 8, 2024 7:25:57 GMT -8
Chris , If you want me to reinstall the version I'm currently deeming as "not working," you can do some testing in the test thread on my forum if you'd like. Let me know if you want me to do that. I cannot identify myself why the updated version breaks all previous embeds. Edit: I'll probably later move your posts to the tech support thread about this issue which you cannot post in as a guest.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 8, 2024 10:08:21 GMT -8
Chris , If you want me to reinstall the version I'm currently deeming as "not working," you can do some testing in the test thread on my forum if you'd like. Let me know if you want me to do that. I cannot identify myself why the updated version breaks all previous embeds. Edit: I'll probably later move your posts to the tech support thread about this issue which you cannot access as a guest. That won't be possible for me until Sunday or Monday bigballofyarn and thanks for the offer.
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,886
January 2003
bigballofyarn
|
Post by bigballofyarn on Nov 8, 2024 10:32:27 GMT -8
Chris , If you want me to reinstall the version I'm currently deeming as "not working," you can do some testing in the test thread on my forum if you'd like. Let me know if you want me to do that. I cannot identify myself why the updated version breaks all previous embeds. Edit: I'll probably later move your posts to the tech support thread about this issue which you cannot access as a guest. That won't be possible for me until Sunday or Monday bigballofyarn and thanks for the offer. No problem. Let me know and maybe we can coordinate a time to troubleshoot together. I'll keep using the old version for now as it appears to be working fine.
|
|
inherit
224118
0
Oct 24, 2017 19:44:49 GMT -8
lordroel
270
August 2015
lordroel
|
Post by lordroel on Nov 8, 2024 12:06:46 GMT -8
I'll keep using the old version for now as it appears to be working fine. Seems that is the same for me.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 8, 2024 22:29:59 GMT -8
I'll keep using the old version for now as it appears to be working fine. Seems that is the same for me. I won't invest any more of my time into this then.
|
|