AmirAll |

Hace 11 meses

Used to we put link and its previewed now it's not accepting even scripts of embed video.
Any solution?

iframe codes and embed codes not works. It's counting 1 space like five or more gap.
So if you don't want injection of codes.
Maybe you can add YT or Video plugin into HTML editor.
Examples I tried so far.

<div> https://www.youtube.com/ULZ0s7AOCOA ![iframe](https://www.youtube.com/ULZ0s7AOCOA) ![video](https://www.youtube.com/ULZ0s7AOCOA) <iframe width="560" height="315" src="https://www.youtube.com/embed/ULZ0s7AOCOA?si=4Pi_4akQ22tp25v6" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

var player;
function onYouTubeIframeAPIReady() {
player = new YT.Player('player', {
height: '360',
width: '640',
videoId: 'ULZ0s7AOCOA',
events: {
'onReady': onPlayerReady,
'onStateChange': onPlayerStateChange
}
});
}

<iframe id="player" type="text/html" width="640" height="360" src="https://www.youtube.com/ULZ0s7AOCOA" frameborder="0"></iframe> </div> https://developers.google.com/youtube/iframe_api_reference?hl=fr

AmirAll |

Hace 11 meses

When i check ICU page source is like this...
<span data-s9e-mediaembed="youtube" style="display:inline-block;width:100%;max-width:640px"><span style="display:block;overflow:hidden;position:relative;padding-bottom:56.25%"><iframe allowfullscreen="" loading="lazy" scrolling="no" style="background:url(https://i.ytimg.com/vi/uxnmbEt5Qqg/hqdefault.jpg) 50% 50% / cover;border:0;height:100%;left:0;position:absolute;width:100%" src="https://www.youtube.com/embed/uxnmbEt5Qqg"></iframe></span></span>


AmirAll |

Hace 11 meses

Aymeric right now...
https://x.com/webtekno/status/1825255092078993729?t=8rtvrYjsj8BHwsnGiQxkMg&s=19
Like saying us do not disturb...
😎