Last time I tried this (a few weeks ago), the procedure turned out to be:
1. play video
2. turn off screen
3. video stops, turn on screen
4. pull down the menu from the top, showing a firefox notification with a play button
5. click play
6. turn off screen again
This is on Android 11, YMMV.