By placing holes in the pages that correspond to photo resistor locations, a processor can tell which page is open.
As more pages are opened, more photo resistors detect light. The "deepest" active page is the one that will be played.
Four roller ball tilt switches, placed in a 3d printed enclosure, will be "off" when the book is lying on a table. In any other position, they will be "on."