fix: add credentialless attribute to YouTube iframe in ad banner video widget

This commit is contained in:
rulingcom 2026-07-15 16:09:51 +08:00
parent ea22538efd
commit 098a779200
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ class AdBannersController < ApplicationController
<iframe height=\"100%\" width=\"100%\"
src=\"#{youtube_url}?enablejsapi=1\" title=\"youtube\"
style=\"position: absolute;\"
credentialless=\"true\"
data-yt-api-binded=\"0\" allowfullscreen>
</iframe>
</div>