fix: add credentialless attribute to YouTube iframe in ad banner video widget
This commit is contained in:
parent
ea22538efd
commit
098a779200
|
|
@ -142,6 +142,7 @@ class AdBannersController < ApplicationController
|
||||||
<iframe height=\"100%\" width=\"100%\"
|
<iframe height=\"100%\" width=\"100%\"
|
||||||
src=\"#{youtube_url}?enablejsapi=1\" title=\"youtube\"
|
src=\"#{youtube_url}?enablejsapi=1\" title=\"youtube\"
|
||||||
style=\"position: absolute;\"
|
style=\"position: absolute;\"
|
||||||
|
credentialless=\"true\"
|
||||||
data-yt-api-binded=\"0\" allowfullscreen>
|
data-yt-api-binded=\"0\" allowfullscreen>
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue