Skip to main content

How to use Youtube Player in Kodular Creator?

 

How to use Youtube Player in Kodular Creator?

Welcome guys, today we are back again with our Today's tutorial on "How to use Youtube Player in Kodular Creator?". Now, let's directly start our tutorial without wasting any more time in Talking...


How to use Youtube Player in Kodular Creator?

1. What is Youtube Player?

Youtube Player is a component given in Kodular creator which we can implement in our app for free. This component enables us to play any video uploaded on youtube in our app.For playing any Video we only need the video ID of that youtube video which is found in the url of the video. This is like a video player in which we can play and control any youtube video without opening URL of video in Webview and which improve our app UI and UX.


2. Why Youtube Video Player?

We use Youtube video player because of many benefits some of them are described as below:

1. To show any tutorial for our app.
2. Can control our app better.
3. This is a UX improving Component.
4. No need to get specific server if we need to play any video.

and many more....

3. How to implement Youtube Player in Kodular Project?

Firstly you need to look for Youtube player under Google section in palette section.So click on google in palette and then get Youtube player.

Or

Click on search icon in palette and search for "youtube" and you will see Youtube Player. When you see Youtube player simply Drag and Drop this component to the position where you want to use it.

So, here you have completed your implementation of youtube player in your app.


4. Properties of Youtube Player:

1. Enable Live Video UI:
This checkbox is used to check whether we should enable UI for live videos in youtube player.

2.Width:
This is used to set width for Youtube Player which will then adjust height automatically.

3.Start Second:
This is used to set from where Video should be started.

4.Visible:
This is used to set Youtube Player Visible or invisible.

5.Volume: 
This is used to set the volume for the video which is being played in Youtube Player.

5. Blocks of Youtube Player:

Here Video ID is 12 digit ID in URL of Video,
Illustration,

Video Id

You have to enter this id of any Video wherever required.

1. Error

Youtube Player Blocks
When any error occur during playing any video then it returns Error in form of text.

2. Fullscreen

Youtube Player Blocks
Returns True or False according to player's State of Fullscreen.

3. Playback Quality Changed:

Youtube Player Blocks
This returns text for quality of video in form of text when changed.
Example: 'UNKNOWN', 'SMALL', 'MEDIUM', 'LARGE', 'HD720', 'HD1080', 'HIGH_RES' or 'DEFAULT'

4.Playback Speed:

Youtube Player Blocks
This gives us the Speed of Video in form of text when changed.
Example:'UNKNOWN', 'RATE_0_25', 'RATE_0_5', 'RATE_1', 'RATE_1_5' or 'RATE_2'.

5. State changed:

Youtube Player Blocks
This return us text for the state of Video player when State is changed.
Example:'UNKNOWN', 'UNSTARTED', 'ENDED', 'PLAYING', 'PAUSED', 'BUFFERING' or 'VIDEO_CUED'.

5. Enter Fullscreen:

Youtube Player Blocks
This is used to command Youtube Player to enter fullscreen.

6. Exit Fullscreen:

Youtube Player Blocks
This is used to command Youtube Player to exit fullscreen.

7. Instant Load:

Youtube Player Blocks
This is used to command Youtube Player to Instantly Load and Play Video automatically.

8. Load Video:

Youtube Player Blocks
This blocks command Youtube player to load video and show thumbnail until video is played.

9. Pause:

Youtube Player Blocks
This is used to command Youtube Player to Pause video.

10. Play:

Youtube Player Blocks
This is used to command Youtube Player to Pause video.

11.Seek to Position

Youtube Player Blocks
This is used to command Youtube Player to jump to specific time in video in seconds.

12. Get Thumbnail From video Id: 

Youtube Player Blocks
This returns image of thumbnail from video of given ID.

13. Toggle Fullscreen:

Youtube Player Blocks
This is used to command Youtube Player to toggle between fullscreen.

So this was all for our today's tutorial and we will be back tomorrow with a new informative Tutorial. Till then.......

Happy Koding.....

Comments

Popular posts from this blog

Kodular Basics- Getting started with Kodular

What Is Kodular? Kodular is a online software which allows us to make android apps without any programming knowledge. Kodular's enable us to make fantastic android apps using their blocks-type editor.We can make our apps stand out with the material design UI. Using Kodular we can make android apps just by dragging and dropping components provided in Kodular Creator.We also need not to write any code to make our app working. We just have to specify blocks in kodular creator and we are out of the tension to write Codes. Getting Started With Kodular :   For making apps you just need to go to Kodular's Creator and sign up there with your email and activate your account.You can create Kodular account and make apps for free. There aren't any charges to use Kodular Creator. So just go Kodular.io and sign up there and start happy coding and app making.  Kodular Dashboard: After you have signed up for Kodular creator,select the option "Create Apps" and you will be redirect

How to use dynamic component in Kodular Creator ?

How to use dynamic components in Kodular Creator? Welcome back my dear friends, today we are back again with a complete new tutorial. Today we are going to learn How to use Dynamic components in Kodular Creator? As of all our tutorials I assure you you will find this tutorial very useful while developing any of you application which the no. of components are not fixed. So, we use dynamic components to add as much as number of components as we want. So, here we start our tutorial with some of FAQ's that will help you to learn what is concept of dynamic components if you didn't understood "What does dynamic components mean?"  FAQ's about Dynamic components 1. What are dynamic components? Dynamic components are the components which allows us to show as much as number of components in our application as we want. So, that we need not to update app to add any component in our application. This is useful when we are developing any application like Shopping application in

How to make a stopwatch application in Kodular?

  How to make a stopwatch application in Kodular? So, guys we are back with a new tutorial. In today's tutorial we will learn making an app rather than learning to use any component in  Kodular creator. It has been time, since we  have provided a tutorial for making a android app in Kodular Creator Series. Hence, today we will  be learning How to make a simple seconds based stopwatch in Kodular. Here firstly we talk about some of FAQ's about Stopwatch in Kodular creator....... FAQ's about stopwatch App 1. Functions of this Stopwatch If you want to know the main functions of this Stopwatch application then we have how this app will work: 1. Firstly User has to start the stopwatch 2. Then he can pause or start the stopwatch. 3. User will be able to reset this stopwatch. 4. User can check timing upto 10 mini seconds. 5. User can easily use this app. 2. How will this app work? In this app we will use a timer component to record time and we will use button for start stop and re