Playing videos
Earlier, in the introduction of this chapter, we saw a spoiler of what we are going to cover in this section. We will cover both local and online video playback. For this, we will need a valid URL and a valid file, which we will look at shortly.
If you’re wondering about the video formats supported by this component, here’s a look at some of the wide variety of video formats supported:
- MP4: This is one of the most common video formats and is widely compatible with most devices
- WEBM: This video format is especially useful for online video streaming and is often used in web applications
- OGV: This is an open source video format that is often used in video editing software and web browsers
- MOV: This is a video format developed by Apple and is widely supported by Apple devices
- AVI: This is one of the oldest video formats and is compatible with most media players
- FLV: This is a popular video format for online video streaming and...