Here is an example of socialising a video player with Facebook’s social plugins. In this example, I’ve integrated the BBC News Player with the Facebook Like and Comment plugins.
90% of the code was created by copy-and-pasting code from elsewhere, for example, Facebook provides the code for the JavaScript SDK and Social Plugins. The BBC Player code was also copy-and-pasted. The only code that needs to be hand written is the structure and styling for the page.