Item type icon should not default to YouTube logo for non-YouTube embeds - YouTube API Developer Policies issue

marquisite

Well-known member
Affected version
XFMG 2.2.4
In xfmg_media_list.less XFMG uses the YouTube logo for the default embed type icon (plus generic embed thumbnail). This means embedded content from different sites without its own specific icon defined still uses the YouTube icon. Example (TikTok vs Instagram):

xenforo-2-2-xfmg-media-list-thumbnail-youtube-api-tos-violation.gif

CSS:
.itemList-itemTypeIcon
{


    &.itemList-itemTypeIcon--embed
    {
        .m-faBase('Brands');
        &::after
        {
            .m-faContent(@fa-var-youtube);
        }
    }


}

This is not allowed for sites that also use YouTube Data API and it may be detected during an audit.

YouTube API Services - Developer Policies said:
2. Branding
  • Content that does not originate from YouTube must not be shown in a way that suggests that the content is originating from YouTube or in a way that can cause confusion as to the origin of that content.

Suggest that the default embed icon be something generic and not be from FA Brands. Maybe fa-photo-video (already used for Froala toolbar media insert button)?

Rather than all affected sites having to individually work around this I think it makes more sense to treat as an XFMG bug and fix once.
 
Top