video
This commit is contained in:
parent
d8214433e0
commit
bec2f27246
@ -49,6 +49,8 @@ const RenderText = ({ text }: { text?: string }) => {
|
|||||||
{cleanUrl(currentValue)}
|
{cleanUrl(currentValue)}
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
} else if (currentValue.includes(".mp4")) {
|
||||||
|
specialElement = <VideoUrl className="my-1" url={currentValue} />;
|
||||||
} else if (["m", "i", "image", "flockstr", "cdn"].includes(subdomain)) {
|
} else if (["m", "i", "image", "flockstr", "cdn"].includes(subdomain)) {
|
||||||
specialElement = <ImageUrl className="my-1" url={currentValue} />;
|
specialElement = <ImageUrl className="my-1" url={currentValue} />;
|
||||||
} else if (["v", "video"].includes(subdomain)) {
|
} else if (["v", "video"].includes(subdomain)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user