Displaying (YT) content based on user role

AI-generated summary

A user reports an issue where YouTube videos embedded in posts display differently based on user role: moderators see them with the YouTube logo and can play them directly, while regular users and guests only see a thumbnail without the logo, requiring a click to open in a new tab. This behavior changed unexpectedly, and the user can’t revert to the previous settings despite checking group, category, and Onebox plugin settings. The issue occurs on Discourse 3.5 using Bitnami Docker images. Another user suggests the problem might be related to the discourse-lazy-videos plugin, though the Glimmer post stream mode is disabled. A third user advises trying a standard install, as Bitnami installations are unsupported and deprecated cAF8qybU6c, tobiaseigen, Moin.

I don’t know if this is a bug, but I can’t change it or explain why.

If the user is a moderator, YouTube videos embedded in posts look “traditional” and can be viewed directly on the forum page (the YouTube logo is present, etc.). If the user is a regular logged-in user or a guest without logging in to the site, the video thumbnail is visible without the YouTube logo. To play the video, click on the left side, preferably near the view counter (in a circle), and the target link opens in a new tab.

This used to work the same for everyone, without distinction. Unfortunately, I changed it some time ago, but I don’t remember how or which option, and now I can’t go back to the previous settings (so that even guests can view videos directly on forum post pages).

I’ve already checked the settings for groups, categories, and Onebox plugins, but nothing worked… Please help.

Version: 3.5 (docker/bitnami)

View when user has moderator rights:

Welcome to our community! :sunflower:

I am not able to replicate this issue on my own site. Moderators and regular members see the same oneboxed view of youtube videos, with the youtube play button in the center.

Can you try it in safe mode for both moderator and regular member and see if it works? If so then you have an issue with a plugin or theme on your site.

discourse-lazy-videos - maybe this is the problem.

But: Glimmer post stream mode is disabled.

I dont know what next. This: Upcoming post stream changes - How to prepare themes and plugins does not help me at all. Don’t understand what to do with some plugins. (using docker images from bitnami 3.5)

I’d try a standard install