decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
60 stars 15 forks source link

Prefer current tab in explain.js video recording #31

Closed mheistermann closed 1 year ago

mheistermann commented 1 year ago

In current versions of chrome, the current tab did not show up at all in the tab list on my machine (MacOS). Additionally, it was always annoying to search through the list if many tabs were opened. A recent chrome feature makes this selection much easier by setting preferCurrentTab.

https://chromestatus.com/feature/5045313003847680

According to https://groups.google.com/a/chromium.org/g/blink-dev/c/YoefXLTQsw0/m/NVoV6NcIAgAJ , this does not cause issues in Gecko and Webkit (however I did not try).

mbotsch commented 1 year ago

Hi Martin, thanks a lot, I included this into the current develop branch (not master branch). Works as expected on my Google Chrome. Recording does not work anyway for Firefox and Safari.