MyJackfruit

Help
Browse topics · Development

Development

← Development

Can I put videos from YouTube or posts from Instagram in my app?

Short answer

Not inside a published app today: it cannot show another site; the security rules do not block a plain link to the video or post.

Deeper

To put a video from another site in your page, such a site gives you a piece of code to paste, called an embed. YouTube says: Paste the code into your website HTML. Its code is an iframe, a frame that shows another site inside your page (https://support.google.com/youtube/answer/171780, read 13 November 2026).

What GilbPlatform does today. GilbPlatform, the service that keeps your vaults, has no video part and no social-media feed part for your app.

What is blocked today. When your app goes live, it is put on the internet at https://<name>.pages.dev, a web address of its own, as only the files a browser loads: no code of your app runs on a server there; a server is a computer on the internet that runs a program's code for it. GilbPlatform sets the rules that address serves your app with, and you cannot change them: the app's pages may fetch data only from the app's own address and from GilbPlatform's own addresses, such as id.gilb.com or a vault's address. Pictures may also come from those two places; scripts, videos, sounds and everything else come only from the app's own files. The same rules stop it showing another site inside its pages, and a form in it can send only to its own address. So a YouTube video, an Instagram post or a feed of your latest posts cannot be shown inside your published app today. If you need this, write to [email protected].

What still works. The security rules for published sites do not block a plain link that opens another site. So your app can show a picture kept in its own files, if you have the right to use it, with a link that opens the video on YouTube or the post on Instagram. Agent.Coder, the agent that writes your app's code, can build it; tell Kai-Zen, the planning agent, which videos and posts you want.

Your own short videos. When your app goes live, all its own files together may be at most 5 MB and 2000 files. A video counts toward the same 5 MB, so only short, small videos fit in your app's own files. The answer Where do I put the pictures and videos for my app? says more.

Use only pictures and videos you have the right to use; see May I use pictures I found on the internet?

This answer is written for a computer screen.

Source: GilbPlatform 0fc5a548 (https://id.gilb.com/version, read 13 November 2026): workers/publish-ingest/src/checks.ts:21 and :146 (a functions folder refused: a functions folder would run your code on the server), :165-172 (the headers every published site gets: Content-Security-Policy default-src 'self'; script-src 'self'; img-src 'self' data: blob: https://*.gilb.com; connect-src 'self' https://*.gilb.com; form-action 'self'; Permissions-Policy camera=(), microphone=(), geolocation=()). MDN, frame-src (falls back to child-src, then default-src), https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-src, read 13 November 2026. GilbPlatform 0fc5a548: src/publish/ticket.ts:20 and :31 (at most 2000 files and 5 MB), checks.ts:11-15 (pdf, mp4, webm among the accepted kinds). YouTube Help, Embed videos & playlists, https://support.google.com/youtube/answer/171780 (Paste the code into your website HTML.; the code is an <iframe>), read 13 November 2026. Live help pages: Where do I put the pictures and videos for my app? ("A video counts toward the same 5 MB, so only short, small videos fit in your app's own files."; a video on YouTube is not allowed there today); Can my app connect to other services, such as weather, shipping, maps or calendars? (plain link); May I use pictures I found on the internet?.

Checked against GilbApp d529620.