There are many different types of video players in the market today, which come in many different shapes and sizes. We are going to create one video player that will work with multiple libraries—One Media Player to Rule Them All. The directive has a strong focus on templates rather than on exposing a public API. This will allow the
video player directive to remain as flexible as possible.
The templates for the video player can vary greatly and can range from simple to very complex. The point of creating the directive is to allow any video template to use any video player library or a pure HTML5 video player template that uses no third-party library to control its functionality.