New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Youtube no longer skimming video properly just showing a link and download arrow. #9666
Comments
Thank you for the report, it's possible Youtube changed their embed policy. |
Are you using any kind of third-party content blockers? I'm getting this kind of result with PrivacyBadger since for a while it's been blocking all third-party domains by default. |
I have some ad blockers but haven't changed those, also, friendica
displays the image of a post I made 12 hours ago but not a current one.
…-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
Knowledgeable human assistance, not telephone trees or script readers.
See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Thu, 17 Dec 2020, Hypolite Petovan wrote:
Date: Thu, 17 Dec 2020 09:32:21 -0800
From: Hypolite Petovan ***@***.***>
Reply-To: friendica/friendica
***@***.***>
To: friendica/friendica ***@***.***>
Cc: Robert Dinse ***@***.***>, Author ***@***.***>
Subject: Re: [friendica/friendica] Youtube no longer skimming video properly
just showing a link and download arrow. (#9666)
Are you using any kind of third-party content blockers? I'm getting this kind of result with PrivacyBadger since for a while it's been blocking all third-party domains by default.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#9666 (comment)
|
Thank you for the added details. |
More details, it still does scrape from Bitchute properly but not from Youtube and a number of websites. I tried deleting various |
Still more details, I tried from a different computer with no plugins installed, still the same. But both had recently upgraded Firefox so thought ok maybe firefox broke something, so I tried chrome, also does not work. |
I can confirm that the youtube player doesn't show up anymore. I tried sharing a YT video via [video] and [youtube] tags. Both didn't work. Preview is empty. Post is empty. https://libranet.de/display/0b6b25a8-125f-dbb0-8e5b-1fe073281343 Item source:
|
The long YT URL doesn't work either.
Edit: also switching 'embedding rich content' on and off doesn't help. Adding the YT domains to the exception field doesn't help either. |
When I look at this post https://libranet.de/display/0b6b25a8-125f-dbb0-8e5b-1fe073281343 on other systems like Diaspora, Mastodon or Misskey the post looks right. URL and YT player are displayed correctly. My uneducated guess: it's a bug in Friendica. |
@AlfredSK You're referring to another known issue. This issue is about the link preview of a Youtube video/article, not about the embed itself (via the relevance BBCodes). |
Oops. I apparently didn't understand what this issue is about. 🤔 I'm sorry. |
Just curious is this dead? It is still not scraping youtube video for me. |
Have you tried just pasting the YouTube link in the post compose field? |
@MrPetovan just tried it but the embedded video doesn't show up. |
Hmm, interesting. Thanks for the added information, and welcome back to the Friendica GitHub pages! |
I applied the recent updates and still video scraping not working for youtube. |
Interesting, I have no idea where the downward arrow comes from, is it a vier-specific display? |
I tried changing to smoothy and still same down arrow displays.
…-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
Knowledgeable human assistance, not telephone trees or script readers.
See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Wed, 13 Jan 2021, Hypolite Petovan wrote:
Date: Wed, 13 Jan 2021 18:02:51 -0800
From: Hypolite Petovan ***@***.***>
Reply-To: friendica/friendica
***@***.***>
To: friendica/friendica ***@***.***>
Cc: Robert Dinse ***@***.***>, Author ***@***.***>
Subject: Re: [friendica/friendica] Youtube no longer skimming video properly
just showing a link and download arrow. (#9666)
Interesting, I have no idea where the downward arrow comes from, is it a vier-specific display?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#9666 (comment)
|
I have similar problems. New install Version Friendica 'Red Hot Poker' 2021.01 - 1384 |
@4nanook have you checked if that download button is added by some browser add-on? @mikauskas umm. Thanks for including that domain in your comment.^^ |
On what version libranet.de works? Perhaps it is possible to check what changes since then could ruin new Friendica versions? |
@MrPetovan @AlfredSK @annando
https://old.friendica.lt/display/04a6b8f1-2660-0725-98f2-3cf295167749 Whatever happened it was between Version 2020.09-01 and version 2021.01 - 1384 |
Problem first reported on 17 Dec 2020, but it is still not on Known Issues list https://friendi.ca/2021/01/04/friendica-2021-01-released/ Many nodes are still on older versions. Perhaps people should be warned? |
Have downgraded server to 2020.09-01. Now "Show more dynamic" is not working properly.
|
If you downgrade the core, you have to downgrade the addons as well. No update on this issue. |
Both core and addons are from the same package and there is only "Showmore Dynamic" v 1.0 anyway. Have disabled the addon. Can live without it for a while. Hopefully will start working itself after an upgrade. |
Apparently, on Version 2020.09-01 follow button is missing, people cant follow each other. |
This issue is expensive to look into because it depends on two nodes having different node settings. So reliably reproducing this issue requires an elaborate setup, and as such it will be less likely to be picked up, especially since the issue doesn't affect all nodes depending on their settings as well. Low overall impact + high troubleshooting cost isn't a great recipe for any issue to be solved, and unfortunately there's little anyone can do about it. |
What can I do to help? Is it known what specific settings affect this? If not, perhaps we could ask a site that has the current development version working to upload their settings and compare to mine? |
It is not really expensive. Just bought a hosting plan for a year with a free domain for just $18 https://friendica.online/ |
I'm sorry, I wasn't talking about money, I was talking about time since this project runs with volunteers. |
No bother, I needed another hosting account to stop messing with experimental software on production one anyway. https://friendica.feneas.org/display/76158462-8060-202e-a133-c46618058322 https://friendica.online/display/ffc05492-2760-215c-8831-b0d499617892 https://laisvai.lt/display/2e25ce5c-1860-200a-5dae-9e8541976832 https://squeet.me/display/962c3e10-1260-2161-d3d1-f66343131482 How many more servers I have to test for the problem to be taken seriously? |
It isn't a question of seriousness either, all issues are serious, but again, our time is limited and we have to pick our battles. |
Any ideas on what files to look at? I think just a comparison of code between V 2020.07-1 and 2021.01 can help what had ruined videos. |
There has been some significant changes in the BBCode to HTML conversion function in You can quickly test your changes on your server by using the |
Thanks found it, line 1932: So, who removed iframe compatibility, why, and what they suggest to do instead? |
It's me 😇. Although I see a potential cause for the current behavior, we are replacing remaining |
That sounds like an acceptable solution. |
Weird approach. So, you removed support of the working function (iframe is still standard way of embedding if embed button pressed while getting share link on Youtube) in favor on might be working OEmbed in some very far future? Wasn't possible to do these experiments on a separate fork and merge with the main one when/if OEmbed is proven to be working better? I hope it happened by accident, not the standard way of maintaining the project? I am just starting to build of new social network and really need to know how serious you guys are about this project. Mastodon and Diaspora working much better and I am seriously considering switching platforms while the community is not big. |
Hi, this was an accident because I do not use the If you are uncomfortable with this, it wouldn't be a bad idea for you to switch to a more popular project with more maintainers and a donation incentive system. |
@MrPetovan what do you do not use instead of the |
I just don't share videos on my personal Friendica account, so I wouldn't have been able to spot this regression through regular Friendica use. Thank you for your offer, you already provided valuable information in this issue, just please be patient about the time to a fix. |
@MrPetovan v2021.01 v2020.09.1 v2021.1 v2020.9.1 |
@MrPetovan so there is no Friendica donation system at all? |
Nope, there's no constituted association, so it comes down to individual developers, and none of us are asking for donations that I know of. However, if you're on a node hosted by someone else, I'd suggest to find out whether they are accepting donations to cover hosting costs. |
@MrPetovan Friendica is overdue to get a professional product. Facebook is misbehaving badly these days. At beginning of January Telegram had registered 25 million new users in 3 days. Many of them could choose Freindica if it was a more mature product sometime before because Telegram is not even a social network (users don't have a timeline). We both know that the hosting cost is nothing in comparison with developers, testers, and sysadmins labor costs. And covering hosting costs wouldn't make the system much better. |
I don't disagree with you on principle, but there is a cliff between the currently volunteer-run project and a professional product. A financial but also skill cliff that we won't be able to cross anytime soon. So I tend not to dwell too much on it and keep working at my pace on it. |
All we need is infinite time days. |
Bug Description
Not scraping youtube video properly when you use the video option in a post.
Steps to Reproduce
Create a new post, select the video option, paste a youtube URL into it.
Actual Result:
Just prints link and a download symbol
Expected Result:
Expect it to frame a picture from the video and make it a hotlink.
This worked earlier today, suspect some change Screwtube has made.
Screenshots
Platform Info
Friendica Version:
This is Friendica, version 2020.12-dev that is running at the web location https://friendica.eskimo.com. The database version is 1382/1382, the post update version is 1349/1349.
Friendica Source:
Github
PHP version:
PHP 7.4.13 (cli) (built: Nov 28 2020 06:24:59) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.13, Copyright (c), by Zend Technologies
SQL version:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 331171
Server version: 10.5.8-MariaDB-1:10.5.8+maria~focal-log mariadb.org binary distribution
The text was updated successfully, but these errors were encountered: