Found 128 Articles for HTML5

Playing an MP3 with Video.js player

Prince Yadav
Updated on 18-Jan-2023 14:26:39

2K+ Views

In this tutorial, we're going to learn how to play an mp3 file or an audio file using the video.js player. Playing an mp3 file using video.js is somewhat similar to playing an audio file in standard HTML5 but a few additional steps are required for video.js to support an mp3 file. Advantages of using playing mp3 files using video.js Using video.js to construct an mp3 player will provide you with more control over the audio file. All of the video.js-specific functions can be used on the audio, allowing for more flexibility. How to Play Mp3 with video.js Player? To ... Read More

How to setup different video quality in Video.js player?

Prince Yadav
Updated on 04-Apr-2023 13:55:58

4K+ Views

In this tutorial, we're going to understand how to set up different video quality in video.js player. Setting up a different video quality means our video player, created using video.js, is going to have multiple resolutions of the same video and the end user can switch the resolution basis as per their liking or their bandwidth. However, video.js doesn't support this feature natively out of the box, which means we'll have to use a plugin (as video.js has a wide range of plugins and support) to set multiple video resolutions for our video player. The video.js plugin that we're going ... Read More

How to play YouTube videos using Video.js player?

Prince Yadav
Updated on 04-Apr-2023 13:43:37

4K+ Views

In this tutorial, we're going to learn the procedure to play YouTube videos using the video.js player. Video.js is a very popular modern web video player which supports all the latest video formats including YouTube, Vimeo, etc. Now, we'll see how the video.js library can be used for playing YouTube videos using the 'videojs-youtube' package. For playing YouTube videos in the video.js player we need to install a package 'videojs-youtube' in our project. Installation of the package is very easy and can be done using bower or node package manager. Installing video.js YouTube Use the following command for installation of ... Read More

How to play Vimeo files using Video.js player?

Prince Yadav
Updated on 04-Apr-2023 13:41:57

1K+ Views

In this article, we’re going to learn how to play Vimeo video files using the video.js player. Video.js is an easy-to-use and very popular modern video player which has the support of all the latest video formats including Vimeo, youtube etc across a variety of platforms like desktops, laptops, etc. Now, let’s focus on creating a video player which will play our Vimeo files, by making use of the ‘videojs-vimeo’ package. This package will help us to play Vimeo video files, without much hassle. How to play Vimeo files using Video.js player? For playing our Vimeo videos in the video.js ... Read More

How to play QuickTime MOV files using the Video.js player?

Prince Yadav
Updated on 14-Nov-2022 06:58:56

3K+ Views

Video.js is an open-source, HTML5 web video player. It supports a variety of HTML5 media source extensions along with modern video playback technologies like YouTube, HLS Stream, etc. through plugins. Video.js supports video playback on a range of display sizes with a plethora of devices like desktops and mobile devices. In this tutorial, we're going to learn how to play the QuickTime MOV files using in our web browser using video.js. MOV is a very common video container used in Apple's QuickTime player for storing movies and video files. These containers use a compression algorithm designed by Apple Computer and ... Read More

How to play HLS stream in HTML5 player Video.JS?

Prince Yadav
Updated on 04-Apr-2023 13:38:57

12K+ Views

In this tutorial, we're going to learn how to play HLS stream in HTML5 video player using video.js. HTTP Live Streaming, also known as HLS Stream, is a HTTP-based communication protocol which used dynamic or adaptive bit rate for streaming videos. This protocol was developed and published by Apple Inc. in the year 2009 and a wide variety of media player, web browsers, mobile devices and streaming media players support this protocol. HLS has the benefit of being compatible with all Internet-connected devices, making it easier to adopt than streaming protocols that need the usage of specialist servers. Another advantage ... Read More

Can scripts be inserted with innerHTML?

Shubham Vora
Updated on 10-Nov-2022 07:40:37

6K+ Views

In this tutorial, we will learn that can scripts are inserted with innerHTML. There are various properties in JavaScript that help in working with the HTML of the current page. The innerHTML property in JavaScript is used to add the Html to the element. It also returns the content present in an element. Scripts are the programs or codes of JavaScript that makes a webpage interactive and dynamic. We can add the script in the script tag on the same page or another JavaScript page linked with an HTML file. The HTML is inserted in the innerHTML property for an ... Read More

How to play FLV videos using Video.js player?

Prince Yadav
Updated on 04-Apr-2023 12:46:26

1K+ Views

Video.js is a very popular library for creating a web video player for videos, which has been built on HTML5 from the scratch. Video.js supports all the basic video formats like mp4, WebM, Flv, etc. It is very effortless and straightforward to create a modern web video player in video.js for these various video types. However, the procedure is a little different for flv-type video formats. In this article we’re going to learn how to play the flv videos using the video.js web player. First, let’s start with how to create a basic web player in video.js using mp4 and ... Read More

How to Play .mp4 file using Video.js Player?

Prince Yadav
Updated on 08-Nov-2022 07:03:24

3K+ Views

In this tutorial, we're going to learn how to play an mp4 file using the video.js player library. Video.js is a very popular and modern web video player which has been developed keeping the HTML5 world in mind. It supports a wide range of video playback formats like mp4, webm, flv, etc., and other modern video formats also like YouTube, Vimeo, and Flash. Video.js also makes sure that the video player is consistent across all display sizes like desktop, computer, and mobiles. In this tutorial specifically, we'll have a look at creating a video player for our mp4 video files ... Read More

How to add subtitles in video using Video.js?

Prince Yadav
Updated on 08-Nov-2022 07:01:41

4K+ Views

In this tutorial, we're going to learn how to add subtitles to a video using the video.js library. Subtitles, often known as captions, are lines of speech or other text that appear at the bottom of the video. Adding subtitles to the video really enhances the video experience for the viewers who are deaf or hard-of-hearing. Adding subtitles using video.js is very easy and furthermore, video.js allows crossbrowser implementation of the subtitle. Let's learn how to add subtitles to our video using video.js in the next section of the video. How to Add Subtitles in Video Using Video.js? Subtitles, also ... Read More

Previous 1 ... 7 8 9 10 11 ... 13 Next
Advertisements