Questions tagged [iframe] (392)

0
answer

Why not work out submit of form from iframe?

$("iframe[src*='formfree']").load(function() { $(this).contents().find('form.lt-form').submit(function() { ym(60755020, 'reachGoal', 'besplatno'); return true; }); }); There is a form that is loaded from another site only if the user clicks the button. The form has no id, so looking for her match in the URL. Trying to ...
philip_Homeni asked April 18th 20 at 13:12
0
answer

How to display content from another website on mine?

Good day, tell me how to remove the content ts.nik.space/games to the table itself on my website? iframe is not working , and the customer need this website
Vita_Heller asked April 18th 20 at 12:55
1
answer

How to make a frame?

Noe asked April 18th 20 at 12:47
0
answer

How to track changes in the size of the window within the iframe?

Give the window height from iframe. window.addEventListener('resize', function () { alert("Size changed!"); parent.postMessage({'height':document.documentElement.scrollHeight}, "https://site.ru"); }); window.addEventListener('load', function () { parent.postMessage({'height':document.documentElement.scrollHeight}, "http...
Twila asked April 16th 20 at 10:01
0
answer

How to make VAST advertising using MediaElementJS + Youtube?

Hello! How to make VAST advertising using MediaElementJS + Youtube? I need to download a video from YouTube, but before starting the show, I have to show is vast. I connected // jquery-3.4.1.min.js // mediaelement-and-player.js // mediaelement-plugins/2.5.0/ads/ads.js // mediaelement-plugins/2.5.1/ads-vast-vpaid/ads-vast-v...
louvenia_Blick49 asked April 9th 20 at 10:55
1
answer

How to make iframe video autoplay on IOS?

Hello! I inserted the iframe code from YouTube into the site. How to make video start automatically? Or, for example, I upload a video using the following code: var player = new YT.Player(id, { playerVars: { 'autoplay': 1, 'controls': 0 }, videoId: vidId, events: { onReady': onPlayerReady } }); function onPlayerReady(e)...
Buck_Goyet asked April 9th 20 at 10:44
2
answers

How to make rubber iframe height?

Hello! There was a problem with how it would be possible to make the rubber height of the iframe. Wrote a mini application in which multiple sub-pages. On your desktop height as needed. But opening up on the mobile site, it turns out that a lot of extra space. I figured about how you can do it using jq, but maybe there is...
rebeca.Goldner asked April 9th 20 at 09:35
0
answer

How to load subtitles in iframe player via JS?

Hello, on a page inserted in iframe player example: <iframe src="//21.tvmovies.in/0yKobqRE8Jr7/movie/56" width="640" height="480" frameborder="0" allowfullscreen></iframe> The player uses PlayerJS. In the documentation it is written that I can using JavaScript under iframe to use their teams, for example, wan...
Alfonso.Lem asked April 8th 20 at 18:20
0
answer

How to change the assignment of the function (clicking, return the original src)?

There is a block in which there is a hidden block (modal window) which has an iframe when loading the site all the iframe there is a substitution of the original src for the image in 1px for faster loading of the website. - then the user clicks on the block > opens a modal window > appears and the play button when yo...
ian.Terry0 asked April 8th 20 at 09:51
3
answers

How to make an iframe adjust adaptive html inside it?

In html iframe is loaded, it is necessary that the size of the iframe adjust to the size of the content in it (Content it - adaptive code), it is necessary that the iframe was also adaptive. Please tell me how to do it? code https://jsfiddle.net/mk6g1rpx/ <!DOCTYPE html> <html lang="EN"> the <head> <ti...
Martin.Mor asked April 8th 20 at 09:32