There is some commented out code in PostVideo that does the autoplay/autoloop. We just need it to turn on/off if the Post is in View. Client side has post on screen tracker for websocket updates, might be able to use for this feature as well.
- Add listener to figure out what posts are on screen
- If post on screen autopplay/autoloop the post
- Make sure only 1 video at a time is playing
- Which ever video is closest to the middle is the 1 that plays
- When off screen turn off autoloop
- Add cookie/asyncstorage to mute all videos of user mutes 1 video and unmutes all if a user unmutes