تم جعل قائمة إساءة الاستخدام غير قابلة للاستخدام بسبب تضمين فيديو يوتيوب

Boy, I’m finding them this week, aren’t I?

The review queue on our site has been blocked by a massive render of an embedded youtube video. Currently viewing on a Chromebook, fully updated Chrome. Confirmed on Windows 10, Chrome. Also confirmed on Firefox, Windows.

Here’s the actual content of the post:

https://youtu.be/OTk6m3U54po

Screenshot of the post itself (currently still hidden because I can’t clear the flag):

Here’s a screenshot of what I’m seeing in the queue (across at least two themes, this one was taken in the default.)

This is covering at least one other post in the abuse queue because of the display problem. It looks like a post waiting on approval, but I can deal with neither post because of the grossly mis-rendered youtube screenshot. I’m going to see if I can get to the other post to approve it but will leave the problematic flag in place for your review.

Edit: Yeah, I was able to clear the other post through. Not sure if this is related or a separate issue, but after approving the queued post, the notification count cleared and a refresh showed nothing. The problematic post returned after a couple of minutes. Odd behavior but no big deal in the long run.

5 إعجابات

Yep, can confirm I had this one. (Then no longer because my oneboxes stopped working specifically for YouTube) But this happened on latest and what was considered latest 3/4 days ago.

إعجابَين (2)

تمكّنت من إعادة إنتاج هذه المشكلة. يمكن تطبيق حل مؤقت بسيط عن طريق تعطيل معاينة الفيديو بإضافة أقواس حول رابط يوتيوب. بهذه الطريقة، يمكنك العودة إلى قائمة المراجعة للتعامل مع العلم. ومع ذلك، إذا كنت ترغب في الاحتفاظ بالمنشور وأزلت الأقواس بعد التعامل مع العلم، سيعود الفيديو لتغطية قائمة المراجعة بالكامل عند فتح سجل قائمة المراجعة.

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

يحدث شيء مشابه أيضًا عند التحقق من سجل التعديلات :



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

يمكن إصلاح هذا بسهولة باستخدام CSS، إما محليًا عبر F12 أو عبر لوحة الإدارة، تخصيص.

يبدو أن كود CSS التالي في https://github.com/discourse/discourse/blob/master/plugins/lazy-yt/assets/stylesheets/lazyYT.css هو السبب.

.ytp-thumbnail-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

ينقص عنصر div الخاص بـ onebox، الذي كان سيحد من الأبعاد، عن فئة lazyYT-container في شاشات طابور المراجعة وسجل التعديلات، مما يغير معنى 100% في هذه الحالات.

إعجابَين (2)

يتم حذف هذه البند من lazyYT-container في قائمة المراجعة:

style="width: 480px; padding-bottom: 270px;"

تعديل: التنسيق معطوب أيضًا في عرض nojs.

تعديل: تم تقديم طلب سحب (PR) مع الإصلاح الذي أشارت إليه @ClawdiaWolf.

7 إعجابات

قد يكون الأمر مرتبطًا بمشكلة ما، لكنني لاحظت أنه بعد الترقية إلى الإصدار 2.5.0.beta4، لم تعد مقاطع الفيديو المضمنة من YouTube في المنشورات تحتوي على حاوية lazyYT يمكنني استهدافها لجعل مقاطع الفيديو متجاوبة.

كنت أستخدم تنسيق CSS التالي:

.lazyYT {
    height: 0 !important;
    width: 100% !important;
    padding-bottom: 56.25% !important;
} 

الآن لم يعد هذا التنسيق يعمل.

إذا كانت هذه المشكلة مرتبطة بالأمر، فيرجى إعلامي.

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

إشارة كاذبة، لا علاقة لها بالموضوع.

اكتشفت أن السبب هو أن رابط YouTube يحتوي على قائمة (?list=) يتسبب في عدم عرض حاوية lazyYT. قمت ببساطة بتحرير الرابط في منشور العضو.

مثال: هذا رابط الفيديو يعمل، بينما هذا رابط الفيديو (نفس الفيديو) لا ينشئ حاوية لـ YT.

نعم، نحن على علم بهذه المشكلة وسنقوم بحلها في أقرب وقت ممكن. يمكنك متابعة التقدم هنا:

5 إعجابات