Navigate to any Web site containing a video/audio (or to a local video/audio file: Firefox - "Alt" key, Chrome and Edge - "Ctrl+O" key).
To start controlling a video/audio with pedals, click "Play" button on the video with the mouse at least once.
To stop controlling the video/audio with pedals, click "Pause" button on the video with the mouse (not with pedals).
After that, you can start controlling any other video on the site by clicking it's "Play" button.
You may have to wait for about a minute before the program starts controlling the video, or click "Play" button on the video with the mouse several times.
To pause/play the video, press right pedal (or other pedal of your choice).
To jump back in the video, press left pedal (or other pedal of your choice).
Перейдите на любой веб-сайт, содержащий видео/аудио (или видео/аудио файл на компьютере: Firefox - клавиша "Alt", Chrome или Edge - клавиша "Ctrl+O").
Чтобы начать управлять видео/аудио при помощи педалей, кликните мышью кнопку "Воспроизведение" на видео хотя бы один раз.
Чтобы прекратить управлять данным видео/аудио при помощи педалей, кликните мышью кнопку "Пауза" на видео (не педалями).
После этого вы сможете начать управлять любым другим видео на сайте, кликнув мышью на его кнопке "Воспроизведение".
Иногда нужно подождать примерно минуту, пока программа начнет управлять выбранным видео, или кликнуть мышью кнопку "Воспроизведение" на видео несколько раз.
Чтобы приостановить/продолжить просмотр видео, нажмите правую педаль (или другую назначенную вами педаль).
Чтобы отмотать видео назад, нажмите левую педаль (или другую назначенную вами педаль).
The program comes with a pre-installed Web Driver for Firefox browser, so if you want to use Firefox it will work out of the box. However, if you want to use another browser like Chrome or Edge, you have to install corresponding Web Driver manually as described below. Also, in case of Chrome or Edge you will have to periodically upgrade the Web Driver to match the current version of automatically upgraded Chrome or Edge browser.
Install the Web Driver for the browser you want to use. The download links are on the site:
Important:For all browsers except Firefox, the version of Web Driver file should match the current version of your browser.
Open the downloaded archive and extract the Web Driver executable. For Firefox browser the Web Driver file name is usually "geckodriver". For Chrome browser the Web Driver file name is usually "chromedriver". For Edge browser the Web Driver file name is usually "msedgedriver.exe".
Place the Web Driver file into the corresponding sub-directory of the program's data directory:
web_driver_directory
Программа поставляется с предустановленным веб-драйвером для браузера Firefox, поэтому если вы хотите использовать Firefox, он будет работать без каких-либо дополнительных действий. Однако, если вы хотите использовать другой браузер, например Chrome или Edge, вы должны установить соответствующий веб-драйвер вручную, как описано ниже. К тому же, в случае использования Chrome или Edge вы должны будете периодически обновлять веб-драйвер, чтобы его версия совпадала с текущей версией автоматически обновляемого браузера Chrome или Edge.
Установите веб-драйвер для браузера, который вы хотите использовать. Ссылки для загрузки приведены на сайте:
Важно:Для всех браузеров, кроме Firefox, версия файла веб-драйвера должна совпадать с текущей версией вашего браузера.
Откройте скачанный архив и извлеките файл веб-драйвера. Веб-драйвер для браузера Firefox обычно имеет имя "geckodriver". Веб-драйвер для браузера Chrome обычно имеет имя "chromedriver". Веб-драйвер для браузера Edge обычно имеет имя "msedgedriver.exe".
Поместите файл веб-драйвера в соответствующую поддиректорию в директории данных программы:
web_driver_directory
Currently, the program supports just one specific type of pedals out of the box - the "Thrustmaster wheel" foot pedals (Thrustmaster 360 SPIDER PC).
If other pedals are used, the program will attempt to recognize them automatically. Just plug the pedals into the PC, run the program, and follow the instructions on the screen. If the pedals are recognized successfully, the information is saved to the file "auto_detected_pedals.txt", and next time the program is run the new pedals will be recognized automatically:
auto_detected_pedals_file
Users who use pedals which where successfully recognized by the program, can send the above file to the program's developer so new versions of the program could support these pedals out of the box:
Currently supported pedal roles are "Pause/Play pedal" and "Jump Back pedal". User can assign any role to any pedal, can use both pedals or just one. This is done automatically by running the program and following the instructions on the screen.
(Technically, the auto_detected_pedals.txt file can also be edited manually.)
В настоящее время программа поддерживает только один конкретный вид педалей, с которыми она работает без дополнительной настройки - это ножные педали "Thrustmaster wheel" (Thrustmaster 360 SPIDER PC).
Если используются другие педали, программа попытается распознать их автоматически. Просто подключите педали к компьютеру, запустите программу и следуйте инструкциям на экране. Если педали будут удачно распознаны, информация будет сохранена в файле "auto_detected_pedals.txt", и при следующем запуске программы новые педали будут распознаны автоматически:
auto_detected_pedals_file
Пользователи, использующие педали, успешно распознанные программой, могут отправить вышеуказанный файл разработчику, чтобы последующие версии программы работали с данными педалями без дополнительной настройки:
В настоящее время поддерживаются следующие роли педалей: "Педаль Пауза/Воспроизведение" и "Педаль Возврата назад". Любой педали можно назначить любую из этих ролей. Можно использовать обе педали, или только одну. Все это делается автоматически путем запуска программы и следования инструкциям на экране.
(Технически, файл auto_detected_pedals.txt можно также редактировать вручную.)
If the program was installed using PIP:
python3 -m pip install --no-cache-dir browserpedals
then a shortcut ("BrowserPedals" icon) was automatically created on the Desktop and in the Applications menu. In this case the program can be launched using this shortcut, or by right-clicking the video file which we want to open and selecting "BrowserPedals" program from the drop-down menu. Technically, the program "browserpedals.py" or its submodules "usepedals.py" and "detectpedals.py" can also be run as Python scripts from command line:
python3 browserpedals.py
Если программа устанавливалась с использованием PIP:
python3 -m pip install --no-cache-dir browserpedals
тогда на рабочем столе и в меню приложений для нее был автоматически создан ярлык "BrowserPedals". В этом случае программу можно запустить, используя этот ярлык, или щелкнув правой кнопкой мыши на том видео-файле, который мы хотим открыть, и в выпадающем меню выбрав программу "BrowserPedals". Технически, программу "browserpedals.py" и ее подмодули "usepedals.py" и "detectpedals.py" можно также запустить из командной строки как Python-скрипты:
python3 browserpedals.py
The program uses web browser as graphical user interface. The way the interface elements look can be changed by editing the following CSS file:
ui_appearance_css_file
В качестве графического пользовательского интерфейса программа использует веб-браузер. То, как выглядят элементы этого интерфейса, можно менять, редактируя следующий CSS-файл:
ui_appearance_css_file