Limit embed generation to just Audio and Video

## Ticket
761 Should Posts have embed links

The original code also supported all text modes like PDF, all of which looked really bad, so it's unlikely someone is utilizing it.

Disabling them until a designer can fix 'em.
This commit is contained in:
infinite-persistence 2022-02-07 15:09:01 +08:00 committed by Thomas Zarebczan
parent 373f7f75e0
commit bfb8e90b1e

View file

@ -20,7 +20,7 @@ export const COMIC = 'comic';
export const NON_STREAM_MODES = IS_WEB ? [CAD, COMIC] : [CAD, COMIC, ...TEXT_MODES];
export const AUTO_RENDER_MODES = [IMAGE].concat(TEXT_MODES);
export const WEB_SHAREABLE_MODES = AUTO_RENDER_MODES.concat(FLOATING_MODES);
export const WEB_SHAREABLE_MODES = FLOATING_MODES;
export const DOWNLOAD = 'download';
export const APPLICATION = 'application';