Iframe video flattersResizing an iframe based on contentjQuery/JavaScript: accessing contents of an iframeDynamically Setting the Src Attribute of an Iframe while maintaining Cross-Browser CompatibilityYouTube API OnStateChange Listener Stops Working After Switch SRC AttrPause/Stop an embedded YouTube video with an onclick event?fitVids() on bootstrap collapsed div - little bug opening multiple videos on single iframeAutoplay Vimeo video on click in modalStop event in angular2 web workerTypeScript - Override Youtube iframe styles in angular 4+'on click' on element with pointer events null (or alternative method)
Why isn't Tyrion mentioned in 'A song of Ice and Fire'?
Why is unzipped directory exactly 4.0K (much smaller than zipped file)?
Navigating a quick return to previous employer
What is the use case for non-breathable waterproof pants?
Unary Enumeration
Did significant numbers of Japanese officers escape prosecution during the Tokyo Trials?
Gravitational Force Between Numbers
Are cells guaranteed to get at least one mitochondrion when they divide?
Reduce size of sum sub/superscript?
Was this scene in S8E06 added because of fan reactions to S8E04?
How to write numbers and percentage?
To exponential digit growth and beyond!
How would a developer who mostly fixed bugs for years at a company call out their contributions in their CV?
How does Dreadhorde Arcanist interact with split cards?
Why A=2 and B=1 in the call signs for Spirit and Opportunity?
How to create a `range`-like iterable object of floats?
If I arrive in the UK, and then head to mainland Europe, does my Schengen visa 90 day limit start when I arrived in the UK, or mainland Europe?
Why have symbolic links between files in folders at same depth?
Why did other houses not demand this?
What is the purpose of the yellow wired panels on the IBM 360 Model 20?
Merge pdfs sequentially
Count all vowels in string
Comparison of bool data types in C++
Flatten not working
Iframe video flatters
Resizing an iframe based on contentjQuery/JavaScript: accessing contents of an iframeDynamically Setting the Src Attribute of an Iframe while maintaining Cross-Browser CompatibilityYouTube API OnStateChange Listener Stops Working After Switch SRC AttrPause/Stop an embedded YouTube video with an onclick event?fitVids() on bootstrap collapsed div - little bug opening multiple videos on single iframeAutoplay Vimeo video on click in modalStop event in angular2 web workerTypeScript - Override Youtube iframe styles in angular 4+'on click' on element with pointer events null (or alternative method)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have integrated Iframe into my site to play Youtube videos. That works so far, but unfortunately, the video flutters when I click anywhere.
I implemented a stopPropagation Directive, but it didn't help. Added it at the top of the HTML tag.
Directive
import Directive, HostListener from '@angular/core';
@Directive(
// tslint:disable-next-line:directive-selector
selector: '[click-stop-propagation]'
)
export class ClickStopPropagationDirective
@HostListener('click', ['$event'])
public onClick(event: any): void
event.stopPropagation();
<div click-stop-propagation>
<iframe frameborder="0" height="200" [src]="sanitizer.bypassSecurityTrustResourceUrl(searchData.newUrl)">
</iframe>
</div>
How can I solve this problem? I saw in my browser that Iframe is sending permanent requests.
Browser Network
javascript
add a comment |
I have integrated Iframe into my site to play Youtube videos. That works so far, but unfortunately, the video flutters when I click anywhere.
I implemented a stopPropagation Directive, but it didn't help. Added it at the top of the HTML tag.
Directive
import Directive, HostListener from '@angular/core';
@Directive(
// tslint:disable-next-line:directive-selector
selector: '[click-stop-propagation]'
)
export class ClickStopPropagationDirective
@HostListener('click', ['$event'])
public onClick(event: any): void
event.stopPropagation();
<div click-stop-propagation>
<iframe frameborder="0" height="200" [src]="sanitizer.bypassSecurityTrustResourceUrl(searchData.newUrl)">
</iframe>
</div>
How can I solve this problem? I saw in my browser that Iframe is sending permanent requests.
Browser Network
javascript
Please add a link to a live example that demonstrates the problem.
– Geuis
Mar 23 at 22:15
add a comment |
I have integrated Iframe into my site to play Youtube videos. That works so far, but unfortunately, the video flutters when I click anywhere.
I implemented a stopPropagation Directive, but it didn't help. Added it at the top of the HTML tag.
Directive
import Directive, HostListener from '@angular/core';
@Directive(
// tslint:disable-next-line:directive-selector
selector: '[click-stop-propagation]'
)
export class ClickStopPropagationDirective
@HostListener('click', ['$event'])
public onClick(event: any): void
event.stopPropagation();
<div click-stop-propagation>
<iframe frameborder="0" height="200" [src]="sanitizer.bypassSecurityTrustResourceUrl(searchData.newUrl)">
</iframe>
</div>
How can I solve this problem? I saw in my browser that Iframe is sending permanent requests.
Browser Network
javascript
I have integrated Iframe into my site to play Youtube videos. That works so far, but unfortunately, the video flutters when I click anywhere.
I implemented a stopPropagation Directive, but it didn't help. Added it at the top of the HTML tag.
Directive
import Directive, HostListener from '@angular/core';
@Directive(
// tslint:disable-next-line:directive-selector
selector: '[click-stop-propagation]'
)
export class ClickStopPropagationDirective
@HostListener('click', ['$event'])
public onClick(event: any): void
event.stopPropagation();
<div click-stop-propagation>
<iframe frameborder="0" height="200" [src]="sanitizer.bypassSecurityTrustResourceUrl(searchData.newUrl)">
</iframe>
</div>
How can I solve this problem? I saw in my browser that Iframe is sending permanent requests.
Browser Network
javascript
javascript
asked Mar 23 at 21:48
Al GebraAl Gebra
236
236
Please add a link to a live example that demonstrates the problem.
– Geuis
Mar 23 at 22:15
add a comment |
Please add a link to a live example that demonstrates the problem.
– Geuis
Mar 23 at 22:15
Please add a link to a live example that demonstrates the problem.
– Geuis
Mar 23 at 22:15
Please add a link to a live example that demonstrates the problem.
– Geuis
Mar 23 at 22:15
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318715%2fiframe-video-flatters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318715%2fiframe-video-flatters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please add a link to a live example that demonstrates the problem.
– Geuis
Mar 23 at 22:15