# توقف عمل Rich onebox

**URL:** <https://meta.discourse.org/t/rich-onebox-stopped-working/80366>\
**Category:** Product Support\
**Tags:** onebox\
**Created:** [12 فبراير 2018، 1:15م UTC](https://meta.discourse.org/t/rich-onebox-stopped-working/80366 "2018-02-12T13:15:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rpasichnyk](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rpasichnyk](https://meta.discourse.org/u/rpasichnyk)\
**Post date:** [12 فبراير 2018، 1:15م UTC](https://meta.discourse.org/t/rich-onebox-stopped-working/80366/1 "2018-02-12T13:15:54Z")

</div>

لاحظت أن الصندوق الواحد (onebox) لموقعي توقف عن العمل في منتدى Discourse الذي أزوره. كان يعمل في الإصدار 1.8.x، لكن المنتدى تم تحديثه الآن إلى الإصدار 1.9.3 ولم تعد صناديقي الواحدة تعمل. تحققت من [try.discourse.org](http://try.discourse.org) ووجدت نفس المشكلة. تبدو عناوين URL للصناديق الواحدة على النحو التالي:

> **[Avg Speed 0kph, Distance 0.0km, Energy 1Wh](https://metr.at/r/CF1go)**
>
> https://metr.at/r/CF1go

يُرجع موقعي تضمين oembed التالي

```plaintext
{
  "version":"1.0",
  "type":"rich",
  "width":600,
  "height":400,
  "title":"metr",
  "html":"<iframe src=\"https://metr.at/r/CF1go?oembed=true\" width=\"600\" height=\"400\"
    frameborder=\"0\"></iframe>",
  "provider_name":"metr.at",
  "provider_url":"https://metr.at"
}

```

لقد راجعت سجل التعديلات (commit history) في مستودع onebox على GitHub ووجدت التعديل `407fd0b8d6d41956e2400efc1918ace255aecd37` بعنوان “الأمان: وضع iframes في بيئة معزولة (sandbox)، وتحويل الروابط النسبية إلى مطلقة”

هل يمكن أن يكون فشل صندوقي الواحد بسبب استخدام iframe وقضايا الأمان؟ هل هناك شيء يمكنني فعله؟

---

_[View the full topic](https://meta.discourse.org/t/rich-onebox-stopped-working/80366)._
