mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 07:57:04 +03:00
Compare commits
2 Commits
89fd4f9bf6
...
951e777c13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
951e777c13 | ||
|
|
ecc5066a22 |
@ -131,7 +131,7 @@ function createLinkElement(link, isWatched) {
|
|||||||
iframeWrapper.style.borderRadius = '10px';
|
iframeWrapper.style.borderRadius = '10px';
|
||||||
|
|
||||||
const iframe = document.createElement('iframe');
|
const iframe = document.createElement('iframe');
|
||||||
iframe.src = `https://www.instagram.com/reel/${reelId}/embed`;
|
iframe.src = link.url;
|
||||||
iframe.width = '100%';
|
iframe.width = '100%';
|
||||||
iframe.height = '700'; // taller to allow for cropping
|
iframe.height = '700'; // taller to allow for cropping
|
||||||
iframe.style.border = 'none';
|
iframe.style.border = 'none';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user