Blob URL not displaying in iframe on ServiceNow Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 05:36 AM
I have an internal company portal where live video streaming is taking place using a Blob URL. I am trying to integrate this video into the ServiceNow Service Portal by creating a custom widget. In this widget, I have used an iframe and inserted the Blob URL to display the video.
However, when I try to load the Blob URL in the iframe on the ServiceNow Service Portal, nothing shows up. To verify if the issue is with the iframe, I tested it with a YouTube video URL, and it worked fine.
Can you help me understand why the Blob URL is not displaying the video in the iframe? How can I handle Blob URLs within an iframe in ServiceNow Service Portal to ensure the video is visible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 05:44 AM
what do you mean by blob URL?
how does it look like?
I doubt this is feasible within ServiceNow.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 05:52 AM
In simple terms, when a website or web app needs to show or use large files like images, videos, or documents, it can create a Blob URL that acts as a temporary link to that file, which is stored in the browser.
For example, if you're watching a video on a webpage, the video might not come from a traditional URL (like www.example.com/video.mp4). Instead, it could use a Blob URL, something like blob:https://example.com/abc123, that tells the browser to load the video data stored in memory.
These URLs are not permanent or shareable (you can't send them to someone else), and they usually only work on the same page or session where they were created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2025 09:04 AM
I ran into the same issue—blob URLs won’t render in an iframe due to browser security restrictions and lack of proper MIME type handling. Instead, I converted the blob to a data URL or used URL.createObjectURL() and passed it directly to a download or image element. For iframe content, it’s better to host the file and serve it via a trusted URL.