Update
This commit is contained in:
@@ -2,9 +2,9 @@ const sampleTimelineElements = [
|
||||
{
|
||||
id: '1',
|
||||
type: 'video',
|
||||
source_webm: 'https://cdn.memeaigen.com/g1/webm/they-not-like-us-oiia-cat-version.webm',
|
||||
source_mov: 'https://cdn.memeaigen.com/g1/mov/they-not-like-us-oiia-cat-version.mov',
|
||||
poster: 'https://cdn.memeaigen.com/g1/webp/they-not-like-us-oiia-cat-version.webp',
|
||||
source_webm: 'https://cdn.memefa.st/g1/webm/they-not-like-us-oiia-cat-version.webm',
|
||||
source_mov: 'https://cdn.memefa.st/g1/mov/they-not-like-us-oiia-cat-version.mov',
|
||||
poster: 'https://cdn.memefa.st/g1/webp/they-not-like-us-oiia-cat-version.webp',
|
||||
name: 'They not like us cat',
|
||||
startTime: 0,
|
||||
layer: 0,
|
||||
@@ -19,9 +19,9 @@ const sampleTimelineElements = [
|
||||
{
|
||||
id: '2',
|
||||
type: 'video',
|
||||
source_webm: 'https://cdn.memeaigen.com/g1/webm/sad-cat.webm',
|
||||
source_mov: 'https://cdn.memeaigen.com/g1/mov/sad-cat.mov',
|
||||
poster: 'https://cdn.memeaigen.com/g1/webp/sad-cat.webp',
|
||||
source_webm: 'https://cdn.memefa.st/g1/webm/sad-cat.webm',
|
||||
source_mov: 'https://cdn.memefa.st/g1/mov/sad-cat.mov',
|
||||
poster: 'https://cdn.memefa.st/g1/webp/sad-cat.webp',
|
||||
name: 'Sad cat meme',
|
||||
startTime: 6,
|
||||
layer: 0,
|
||||
@@ -36,9 +36,9 @@ const sampleTimelineElements = [
|
||||
{
|
||||
id: '3',
|
||||
type: 'video',
|
||||
source_webm: 'https://cdn.memeaigen.com/g1/webm/este-cat-dance.webm',
|
||||
source_mov: 'https://cdn.memeaigen.com/g1/mov/este-cat-dance.mov',
|
||||
poster: 'https://cdn.memeaigen.com/g1/webp/este-cat-dance.webp',
|
||||
source_webm: 'https://cdn.memefa.st/g1/webm/este-cat-dance.webm',
|
||||
source_mov: 'https://cdn.memefa.st/g1/mov/este-cat-dance.mov',
|
||||
poster: 'https://cdn.memefa.st/g1/webp/este-cat-dance.webp',
|
||||
name: 'Este cat dance',
|
||||
startTime: 2,
|
||||
layer: 1,
|
||||
@@ -95,7 +95,7 @@ const sampleTimelineElements = [
|
||||
{
|
||||
id: '6',
|
||||
type: 'image',
|
||||
source: 'https://cdn.memeaigen.com/g1/webp/este-cat-dance.webp',
|
||||
source: 'https://cdn.memefa.st/g1/webp/este-cat-dance.webp',
|
||||
name: 'Este cat dance',
|
||||
startTime: 0,
|
||||
layer: 5,
|
||||
|
||||
@@ -213,7 +213,7 @@ const useVideoExport = ({ timelineElements, dimensions, totalDuration, watermark
|
||||
stage.add(layer);
|
||||
|
||||
const watermarkText = new Konva.Text({
|
||||
text: 'MEMEAIGEN.COM',
|
||||
text: 'memefa.st',
|
||||
x: dimensions.width / 2,
|
||||
y: dimensions.height / 2 + dimensions.height * 0.2,
|
||||
fontSize: WATERMARK_CONFIG.fontSize,
|
||||
@@ -692,7 +692,7 @@ const useVideoExport = ({ timelineElements, dimensions, totalDuration, watermark
|
||||
|
||||
const blob = new Blob([data.buffer], { type: 'video/mp4' });
|
||||
const epochTimestamp = Date.now();
|
||||
const fileName = `memeaigen-${epochTimestamp}.mp4`;
|
||||
const fileName = `memefast-${epochTimestamp}.mp4`;
|
||||
|
||||
// Store the blob and filename in state instead of auto-downloading
|
||||
setVideoBlob(blob);
|
||||
|
||||
@@ -277,8 +277,9 @@ const VideoPreview = ({
|
||||
}}
|
||||
>
|
||||
<Button
|
||||
variant="secondary"
|
||||
id="open-text-editor"
|
||||
className="h-16 w-16 rounded-full border shadow-sm"
|
||||
className="h-16 w-16 rounded-full shadow-xl"
|
||||
onClick={() => {
|
||||
handleElementSelect(element.id);
|
||||
onOpenTextSidebar();
|
||||
@@ -330,7 +331,7 @@ const VideoPreview = ({
|
||||
{watermarked && (
|
||||
<Text
|
||||
key={`watermark-${fontsLoaded}`}
|
||||
text="MEMEAIGEN.COM"
|
||||
text="memefa.st"
|
||||
x={dimensions.width / 2}
|
||||
y={dimensions.height / 2 + dimensions.height * 0.2}
|
||||
fontSize={WATERMARK_CONFIG.fontSize}
|
||||
|
||||
Reference in New Issue
Block a user