مرحبًا ناثان،
إليك الخطوات:
-
انتقل إلى وحدة تحكم المسؤول وابحث عن “allowed iframes”
-
أضف
https://www.buzzsprout.comثم انقر على علامة الصح لحفظ التغيير -
أضف هذا إلى منشورك:
<div data-theme-iframe="no-scroll"> <iframe src="https://www.buzzsprout.com/1717287/8537076?client_source=small_player&iframe=true&referrer=https://lacomunidad.deliberatespanish.com?player=small" width="100%" height="200" frameborder="0" scrolling="no"></iframe> </div>
عناصر <div> المحيطة اختيارية، لكنني أستخدمها لأنني لا أريد ظهور أشرطة التمرير في إطارات التضمين الخاصة بي. إذا أردت تمكين ذلك، فيجب عليك اتباع خطوتين إضافيتين:
- انتقل إلى السمة النشطة، انقر على “Edit CSS/HTML” ثم اختر علامة التبويب
</head> - الصق هذا ثم احفظ:
<script type="text/discourse-plugin" version="0.8.42"> api.decorateCookedElement(post => post.querySelectorAll('div[data-theme-iframe="no-scroll"] iframe').forEach(iframe => { iframe.setAttribute('scrolling', 'no'); }), { id: 'iframe-decorator', onlyStream: true, } ); </script>