-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4669 from coralproject/fix/CORL-3180-dont-autopla…
…y-gifs-mod-queue [CORL-3180]: update to not autoplay tenor gifs in mod queue
- Loading branch information
Showing
13 changed files
with
220 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
client/src/core/client/admin/components/MediaContainer/TenorMedia.tsx
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
client/src/core/client/admin/components/MediaContainer/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { default as MediaContainer } from "./MediaContainer"; | ||
export { default as GiphyMedia } from "./GiphyMedia"; | ||
export { default as GifMedia } from "./GifMedia"; | ||
export { default as TwitterMedia } from "./TwitterMedia"; | ||
export { default as YouTubeMedia } from "./YouTubeMedia"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
export interface MediaFormat { | ||
url: string; | ||
duration: number; | ||
dims: number[]; | ||
size: number; | ||
} | ||
|
||
export interface SearchResult { | ||
id: string; | ||
title: string; | ||
created: number; | ||
content_description: string; | ||
itemurl: string; | ||
url: string; | ||
tags: string[]; | ||
flags: []; | ||
hasaudio: boolean; | ||
media_formats: { | ||
webm: MediaFormat; | ||
mp4: MediaFormat; | ||
nanowebm: MediaFormat; | ||
loopedmp4: MediaFormat; | ||
gifpreview: MediaFormat; | ||
tinygifpreview: MediaFormat; | ||
nanomp4: MediaFormat; | ||
nanogifpreview: MediaFormat; | ||
tinymp4: MediaFormat; | ||
gif: MediaFormat; | ||
webp: MediaFormat; | ||
mediumgif: MediaFormat; | ||
tinygif: MediaFormat; | ||
nanogif: MediaFormat; | ||
tinywebm: MediaFormat; | ||
}; | ||
} | ||
|
||
export interface SearchPayload { | ||
results: SearchResult[]; | ||
next: string; | ||
} | ||
|
||
export interface FetchPayload { | ||
results: SearchResult[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.