File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const name = 'YouTubeCustom'
5353const getHTML = url => {
5454 const iframeSrc = getYouTubeIFrameSrc ( url )
5555
56- return `<div class="yt-embed-wrapper"><iframe width="100%" height="315" src="${ iframeSrc } " frameBorder="0" allow="autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen referrerpolicy="strict-origin-when-cross-origin"></iframe><div className="yt-embed-wrapper__overlay"><span class="yt-embed-wrapper__tooltip">By clicking play, you agree to YouTube's <a href="https://policies.google.com/u/3/privacy?hl=en" target="_blank" rel="nofollow noopener noreferrer">Privacy Policy</a> and <a href="https://www.youtube.com/static?template=terms" target="_blank" rel="nofollow noopener noreferrer">Terms of Service</a></span></div></div>`
56+ return `<div class="yt-embed-wrapper"><iframe width="100%" height="315" src="${ iframeSrc } " frameBorder="0" allow="autoplay; encrypted-media; gyroscope; picture-in-picture" referrerpolicy="strict-origin-when-cross-origin" allowFullScreen ></iframe><div className="yt-embed-wrapper__overlay"><span class="yt-embed-wrapper__tooltip">By clicking play, you agree to YouTube's <a href="https://policies.google.com/u/3/privacy?hl=en" target="_blank" rel="nofollow noopener noreferrer">Privacy Policy</a> and <a href="https://www.youtube.com/static?template=terms" target="_blank" rel="nofollow noopener noreferrer">Terms of Service</a></span></div></div>`
5757}
5858
5959module . exports = { getHTML, name, shouldTransform }
You can’t perform that action at this time.
0 commit comments