Tracking Video Plays in Google Analytics with Multiple Videos on a Page

On another page, I implement code to track video plays and video ends in Google Analytics. But sometimes you want more than one video on a page. How can you track the plays and ends with multiple videos on a page?

I followed the answer to this question from StackOverflow. View the page source of this page to see the code (between --START HERE-- and --END HERE--) to place within the body of your page.

And see the setting for Google Analytics on the page for tracking a single video.

First player should go here.
Second player should go here.