Getting Started with VideoJS

Updated on 03-Oct-2022 10:17:34
Video.js is a famous, well-known, and easy-to-use modern web video player. It was created from the ground up with the HTML5 world in mind. It supports a diverse range of video streaming formats such as HTML5 Video, media source extensions as well as other modern video playback formats like Youtube, Vimeo, Flash, and others. It also allows for video playbacks on various platforms like PCs, laptops, and mobile devices. The project began in the middle of 2010, and the player is now utilized on more than 700, 000 websites. Hundreds of contributors, from all over the world, are now working ... Read More

Creating a responsive Video Player using Video.js

Updated on 03-Oct-2022 10:12:06
In this tutorial, we'll look at how to use video.js to create a responsive video player. A responsive video player is one that resizes itself to fit the size of the screen. By creating a responsive video player, we ensure that our video player is never cropped from the sides and is always presented fully, regardless of the device or screen size. Having a consistent player will also enhance the viewing experience of the end user. Let's move ahead to the next section of the article and learn how to make the video player responsive using video.js. Creating a Responsive ... Read More

Adding Custom buttons and/or Controls to Video.js

Updated on 03-Oct-2022 09:59:04
In this tutorial, we'll have a look at how to create a custom button and add it to our video player created using video.js. Adding a custom button to a video player allows you to have more control and flexibility over the player. With the help of a button, complex functionalities could be added to the video player, which is further going to enhance the user experience of a person interacting with the video player. For example, adding a button that shows the stats of the video or a button that lets you show a popup on the screen, etc. ... Read More

How to Print the Multiplication Table in Triangular Form in Golang?

Updated on 30-Sep-2022 08:18:29
In this tutorial, we are going to generate the Multiplication Table in Triangular Form using Golang programming. To achieve this we have two ways, one using the nested loops and another using the recursion concept. Using for nested loops to generate the Multiplication Table in Triangular Form Algorithm Step 1 − Declaring the int type variable in which we will store the number till which we have to generate the multiplication table in triangular form. Step 2 − Initialize the number with the respective value till which we have to generate the multiplication table in triangular form. Step 3 ... Read More

How to print Hello World! In Golang?

Updated on 30-Sep-2022 08:01:41
In this tutorial, we are going to explore the code for printing the Hello World! In Golang. Also, we will see by using which package and function we can do this thing. To print anything in Golang we import the fmt package that includes the various functions to print anything in Golang. Different function fmt package consists of. Print() Printf() Println() Syntax packageName.functionName(“Thing you want to print”) Algorithm Step 1 − Import the fmt package after package declaration. Step 2 − Go to the respective function where you want to print. Step 3 − Call any ... Read More

How to Count the Number of Digits in an Integer in Golang?

Updated on 30-Sep-2022 07:58:46
In this tutorial, we are going to find the number of digits in an integer using the Golang programming language. This tutorial will include two ways to find the number of digits in an integer, one by using the for loop and another by the recursion concept. Explanation Number = 5436 The number of the digit in the above number is 4. Number = 783 The number of the digit in the above number is 3. Logic Explanation Suppose we have a number 32456 we are storing it into a tempNumber in the above code. tempNumber = 32456 count = ... Read More

How to Check if two of three boolean variables are true in Golang?

Updated on 30-Sep-2022 07:52:32
In this tutorial we are going to see that the two of three boolean variables are true or not in Golang. As there are only three variables then we can use the if else condition statements to check this thing.Checking with if, elseif and else condition statements. Algorithm Step 1 − Declaring the boolean variables that we will compare later. Step 2 − Initializing the variables with respective values. Step 3 − Comparing the variables using if elseif and else ladder. Example 1 In this example we will check with if, elseif and else condition statements. package main ... Read More

Difference between Tortoise and Turtle

Updated on 29-Sep-2022 13:33:20
Tortoises and Turtles both belong to class Reptilia of the order Testudines of Animalia kingdom. The word "Testudine" is derived from a Latin word, ‘Testa’, which means shell. Both, tortoises, and turtles have shells on their back to protect them from predators and various threats. They both lay eggs into the burrows. They both apparently look similar, but they have distinctive anatomical features as well as different habitat and behavior. They have been existing on the Earth since 200 million years. Read through this article to find out how turtles are different from tortoises. What is a Tortoise? Tortoise is ... Read More

Difference between Psychology and Psychiatry

Updated on 29-Sep-2022 13:30:36
Our mental health affects how we perceive, think, feel, and act as a human individual. One’s mental health is determined by how they handle stress, behave in society, and what choices they make. Mental health is vital at every stage of life. One needs help of an expert when their grossly disturbed emotional state and in turn the behavior together sum up to a mental illness. In such cases, one might get confused on whether to approach a Psychologist or a Psychiatrist. When it comes to mental illness, both areas of study Psychology and Psychiatry, provide insight on human minds ... Read More

Difference between Neurosis and Psychosis

Updated on 29-Sep-2022 13:28:14
Neurosis and Psychosis are mental disorders. Neurosis causes distress in a person without making them lose the contact with reality whereas in Psychosis an affected individual is not in touch with reality. What is Neurosis? Neurosis is a mental or emotional disorder which is identified by anxiety, depression, feelings of unhappiness or stress. Types of Neurosis The types of Neurosis include − Anxiety − Response of body out of the thoughts of fear and/or apprehension. Depression − Chronic sadness or persistent feeling of loss of interest. Hysteria − Conversion of psychological stress into physical symptoms due to trauma. Obsessive-compulsive ... Read More