Greasy Fork is available in English.

Disable BBC EMP Autoplay

Forces autoplay to be turned off in embedded media players on BBC websites.

المؤلف
uxamend
التثبيت اليومي
0
إجمالي التثبيت
9
التقييمات
0 0 0
الإصدار
1.2.1
تم إنشاؤه
تم تحديثه
الترخيص
CC0-1.0
ينطبق على

وصف المؤلف

Background

Embedded video players on BBC websites (such as BBC News) normally autoplay another video by default. Although a toggle is provided to disable this autoplay, this is unsuitable where cookies are not being retained between sessions, because the toggle will revert to the default in each new session. Disabling autoplay each time is hassle.

How it works

This script simply finds the toggle switch element that disables autoplay within the page, checks its current state, and then issues a click event on the switch to disable autoplay.

Please note that this script is not for iPlayer, only the EMP.

Version history

1.2. First public release.
1.2.1. Changed @namespace to more unique value.