Iframes Not Working

G’day all, I was wondering if Discourse supports <iframes>, I have been trying to embed multiple different websites into Discourse yet none seem to work. I’ve tried with Time and Date, Google Maps just to name a few without any success.

إعجابَين (2)

Did you add the domains to the allowed iframes setting?

5 إعجابات

Yes I did add the required domains for the iframes.

إعجاب واحد (1)

Does it work if you use safe-mode?

your.site.com/safe-mode

Do you see any error in the browser console?

Are the iframes added to the post and not working or are they not added at all?

Can you share a link to your site?

إعجابَين (2)

Here’s the site: AFC - Best aviation community ever

There aren’t any errors being shown and the <iframes> are added in fully.

They still didn’t work in safe mode.

إعجاب واحد (1)

Any updates on this yet?

مرحباً يا رفاق،

لا يبدو أنني أستطيع تشغيل إطارات iFrames أيضًا. على سبيل المثال، يعمل Onebox الخاص بيوتيوب بشكل رائع، ولكن كلما نشرنا روابط، فإنها لا تظهر هكذا:

أرى دائرة تحميل على يسار الرابط عند إنشاء منشور، ولكنه في النهاية يعرض الرابط الفعلي وليس إطار iFrame.

لقد تحققت من بعض المواضيع الأخرى وجربت استكشاف الأخطاء وإصلاحها المقترح (وصلت إلى الموقع في الوضع الآمن، وأضفت نطاقات محددة إلى إعداد المسؤول الخاص بإطارات iFrames المسموح بها)، ولكن لم يتم تحويل أي روابط إلى إطارات iFrames.

هل يمكن أن يكون هناك إعداد آخر في المسؤول يمنع هذا من العمل بشكل صحيح؟