Skip to content

🎥 Make videos programmatically with React

Update GlobalApis.tsx

Jonny Burger46924101c529
diff --git a/packages/convert/app/components/GlobalApis.tsx b/packages/convert/app/components/GlobalApis.tsx
index 6da0f62a50..527ea51ed7 100644
--- a/packages/convert/app/components/GlobalApis.tsx
+++ b/packages/convert/app/components/GlobalApis.tsx
@@ -1,3 +1,4 @@
+import {MediaParserInternals} from '@remotion/media-parser';
import {useEffect} from 'react';
export const GlobalApisInConsole = () => {
@@ -13,7 +14,8 @@ export const GlobalApisInConsole = () => {
window.convertMedia = convertMedia;
}),
]).then(() => {
- console.log(
+ MediaParserInternals.Log.info(
+ 'info',
'Tip: You can use parseMedia() and convertMedia() in this console!',
);
});