32,550 questions
Best practices
1
vote
12
replies
192
views
What is the most secure way to embed a PDF (preview) into a website?
Aim
Just embed a PDF (preview) into a website. This is very likely a well-known use case.
Given I have this use case for showing a PDF preview, I am searching for a solution. And yes I know e.g. MDN ...
Score of 2
1 answer
109 views
Why doesn't registering a web component from the parent page in an un-sandboxed iframe work?
When
customElements.define(name, window.top.customElements.get(name))
is called inside a script (with type="module", in case that is consequential somehow) in an (un-sandboxed) iframe, it ...
Score of 0
0 answers
83 views
Android Management API Google Playstore iFrame Select Mode
Recently, Google deprecated the "/work" app browsing page, which forced us to migrate to emm-api iFame. I tested the approval mode in our code, and it works great, and I can approve/...
Score of 0
1 answer
107 views
Can I disable the "Hold CTRL + scroll to zoom" on a Google Maps iframe? [duplicate]
I'm using the following code:
<iframe
src="https://maps.google.com/maps?q=latitude,longitude&output=embed"
></iframe>
It works, but when the map is rendered, I see the ...
Advice
0
votes
1
replies
47
views
Parent's long task affect on iframe loadtime
so does long tasks of parent frame affect iframe's loadtime of the iframes?
Long js tasks block the main thread causing delay in other rendering processes as well but iframe and parent run on ...
Advice
0
votes
7
replies
157
views
C# WebView2 and viewing local HTML files with YouTube embedded in <iframe>
I asked this question about viewing local HTML files with YouTube embedded in <iframe> in my browser.
Local HTML file embed youtube with <iframe>
It was answered that it couldn't be done ...
Score of 0
1 answer
196 views
Local HTML file embed youtube with <iframe>
I have a created a test website at infinityfree and uploaded a test file to display a Youtube video in an <iframe\>
<!DOCTYPE html>
<html lang="en">
<head>
<...
Score of 0
1 answer
78 views
Safari getting invalid_request in plug-in cards
We are finding that in Safari on Desktop that our dashboard plug-in card including other plug-in cards we didn't create such as Zogo are not loading properly and just displaying the error ...
Tooling
0
votes
0
replies
57
views
How can I hide/disable the download button in Chrome’s default PDF viewer when displaying a PDF inside an iframe, without hiding the entire toolbar?
I am working on a task where I need to manage the PDF viewer to hide or disable the download button from the default PDF viewer, while keeping the toolbar visible. If anyone has any ideas on how this ...
Score of 0
1 answer
105 views
iframe redirect break out from parent page and make parent redirect
I am using the ASP plugin to accept credit card payments in my website:
https://wordpress.org/plugins/stripe-payments/
This plugin has a shortcode, that displays a button, that when clicked, it opens ...
Score of -3
1 answer
140 views
Iframe keep reloading in firefox, when updating hash value using window.location.hash
Im trying to update the hash value of my iframe page, by setting value to window.location.hash= 'hash/value/for/section'
But, once the hash set, the iframe starts reload. then landing the page, again -...
Score of 2
0 answers
231 views
How can I make YouTube IFrame API seekTo() calls silent without setting controls: 0?
I'm building a video app where users navigate by clicking timestamps in a side panel, each calling player.seekTo(seconds, true). Until the embed redesign rolled out in late March 2026, this was silent:...
Score of 3
1 answer
120 views
Cycode scan recommends HTML sanitization for iframe.src assignment, but I'm only using a URL—what is the proper mitigation?
We have the following code in our Angular application:
const auth_token = sessionStorage.getItem('auth_token') ||
this.sessionStorage.retrieve('authenticationtoken') ||
...
Score of 1
0 answers
98 views
Hidden button player-controls-a11y-toggle is not visible when focused in YouTube iframe embed
I have a YouTube video embedded using the following URL:
https://www.youtube.com/embed/${videoId}?rel=0&autoplay=1
When navigating with the Tab key, there is a hidden button with the ID `player-...
Score of 1
1 answer
733 views
Error code 153 when trying to use Youtube Embed | HTML
UPDATE:
somehow the embed shows up/works when I'd host the website on neocities but when I am checking the website locally it doesn't show up for some reason
When I try to use a youtube video embed in ...