[Free] Video in list play || Play video like a Pro

Hello friends , In this guide Im gonna make a video in list play video itself in a list , Its a detailed guide
Aia will be posted after 50 likes on the topic
You ever have seen youtube video preview in list feature which is only for scrolling but this one is like facebook video in list
So lets gonna begin this tutorial :-
Extensions used (All are free)

  1. Baserow by @iamwsumit (Used as database)

2)Shimmer View by @luv.ak.tech

https://community.kodular.io/t/shimmer-layout-shimmer-your-components/159672/8

3)Scroll Handler by @Taifun

4)Dynamic components extension by @yusufcihan for creating dynamic components and extensions (video players)

5)Exo player @zainulhassan (A very thanks to him for making such a video player for video with much customisation)

6)Shapeable view by @iamwsumit (Optional to use, use may use decoration component as well)

Thanks to all extensions developers

Designer Properties :-


Take one VSA in designer
Some threads required to make dynamic components and extensions so :-

Blocks :-

  1. When screen intailizes -
    blocks (6)

  2. When clock timers is over (Ms : 2000)
    blocks (9)
    Used procedure block name “add” (parameters : counts)
    Set the “2” to How many you want to show first time

  3. Procedure for “add” (parameters : counts)


    Used procedure “Add” (parameters : counts , video id) Keep video blank ie. empty string
    Explainer for this block :-
    a) First we are creating dynamic baserow for best results you can also use id method but I am using dynamic baserow

b) Creating a card view

  1. Procedure for “Add” (parameters : counts , video id)


Explainer for the block :-
a) As we are calling data one by one from database so we have wait for some second in that time we can show shimmer view for best results and when we database data is called we can hide shimmer and show (like a pro) it

b) Rest is what you can easily under stand if anyone want it make schema for my project

  1. Any Baserow got row event

Used procedure “set” (parameters : id , text (not or commercial use its the link for video) , video_thumbnail , channel thumbnail , title)

  1. Procedure “set”

  2. On scroll handler reach bottom


    Set 3 to Total no of data (rows) + 1

Now the Main Concept of the guide starts :-

  1. On scroll handler scrolled change :-


    In this event we are creating dynamic youtube player and exo player

  2. On Image click :-


    In this event we are creating dynamic youtube player and exo player

  3. Youtube player intailized :-

V2 :- Coming soon
What will be fix ?
→ 1) Youtube player , Exo player full screen bug
2) On app pause exo player crash bug
3) Shimmer scroll

Bugs :- In database , do not delete any row as if you delete then app will crash
Hope This guide will be helpful -

Screen shots :-






Acknowledgement : It is an experienced project and you can play direct video and youtube video easily provide direct video id or only 1 type of video link supported (https://youtu.be/)
Happy Koding !

6 Likes

Really good guide @UnknownMan541. I was looking for a guide like this for some days. Thanks for such detailed guide. I am gonna try this very soon.

If you face some error post here , happy to see you helpful :innocent::innocent:

1 Like

Is this guide helpful to you :-

  • Yes
  • No , needs improvement

0 voters

V2 is here :innocent::innocent:
Fixed bugs - full screen and on app pause (exoplayer)

Full screen :-


App resume :-