freshrss-youtube icon indicating copy to clipboard operation
freshrss-youtube copied to clipboard

thumbnail still showing under video player

Open bwees opened this issue 1 year ago • 2 comments

Screenshot 2023-08-03 at 1 09 07 PM

The thumbnail and content is still showing under the video embed even after I have show content deselected. I tried to nail down the bug and it appears that even if you just pass the iframe code (or even text for that matter) from here:

https://github.com/kevinpapst/freshrss-youtube/blob/master/xExtension-YouTube/extension.php#L186

FreshRSS still renders the feed content beneath the video player. When I turn on show content I basically get the player and then the description then the thumbnail and description again: Screenshot 2023-08-03 at 1 15 27 PM

It appears as if FreshRSS is appending the feed content regardless of what this extension outputs. Is this due to the use of _content variable when setting the html?

I am on v1.21.0 that was released 4 days ago so it may be a freshRSS bug, I will try to go to 1.20.0 and see if that fixes it

bwees avatar Aug 03 '23 17:08 bwees

It appears to fix itself on 1.20.2, will open a freshRSS issue and mention this issue here.

bwees avatar Aug 03 '23 17:08 bwees

I am seeing the same issue. But I didn't have the time to investigate.

What I can tell you: the setting worked properly in the past. You either had the video player alone or (if setting was active) the player and the content below.

The thumbnail is new, also the fact that the content is injected, no matter what. There was some kind of change in FreshRSS core.

kevinpapst avatar Aug 03 '23 21:08 kevinpapst

Closing here. If the issue persists, please re-open the issue at https://github.com/FreshRSS/Extensions

kevinpapst avatar Mar 17 '24 22:03 kevinpapst