Local Overrides Sample: Replace Playback Speed Options - bp2008/ui3 GitHub Wiki

This script will replace the set of options in the playback speed menu.

To learn more about ui3-local-overrides, see: Local Overrides Scripts and Styles

UI3-115 or newer is required in order to override playback speed options.

Simply create a javascript array of speed multipliers and assign it to the variable overridePlaybackSpeedOptions. Be sure to include 1 somewhere in your array or else normal playback speed will be unavailable. Here's an example.

ui3-local-overrides.js

overridePlaybackSpeedOptions = [0.5, 1, 2, 3];