Couldn't not able to open my google drive video in my app

Here’s how are my blocks please check and tell me what I need to do further

I have used https://community.kodular.io/uploads/short-url/nRqOUjMaFNb1ohuDnzdWem4BxPW.aix

Hi Anirudh,
Have you tried using the WebViewer?

No I didn’t try it because it opens like normal drive video and allows users to download and shows drive info about that video
I need only video need to be opened like the video is uploaded in my app itself

I don’t know weather I need to edit/modify my drive video link or just copy and paste of the public drive link is enough ?

I am getting runtime error
End application

You can download only, if you want to play video then you need ( .mp4 extension ) upload in hosting to get mp4 url

I studied a bit and from Google Drive I don’t think it’s possible to see a video without being redirected to Google in some way, the only solution I found would be to upload the video to some other file hosting like Firebase

@Anirudh
I tried Google Drive to work with the video player in Kodular, but I have a better solution for you.
Use the method below:
webviewer.go to url - https://drive.google.com/file/d/FILE_ID/preview

I already suggested it but it’s not good.

Then how is this able to do ?

Link to the post :- Google drive video not playing - #5 by dora_paz

I tried that app by installing google_play_video.apk there it’s working fine

This is the drive video link they have used in the above

Getting direct download links for big sized files from G-drive is not allowed.

Kodular’s built-in video player component is honestly not good at all—especially when it comes to handling external sources like Google Drive. It lacks performance, flexibility, and doesn’t give that polished, professional feel we often need in our apps.

I’ve been using Deep Host’s Exo Player extension specifically to play videos from Google Drive, and it works exceptionally well. As shown in the video above, it handles Google Drive video links smoothly and reliably, offering a better user experience than the default component.

However, there are a few concerns—Deep Host’s extension is not free, he does not provide any kind of support, and he is also reportedly banned from the Kodular community. This makes it hard to depend on his extensions for long-term or serious projects.

That’s why I want to make a humble request to our talented extension developers—if anyone is willing to create a similar Exo Player extension (that supports Google Drive links just as well) and offer it freely to the community, it would be a truly valuable contribution. Many developers, including myself, would greatly benefit from a stable and accessible solution for high-quality video playback in Kodular.

Thank you so much to anyone who considers this. Your efforts and generosity help keep this community strong and growing. :folded_hands:

Then how is this app done

1 Like

Did you already try

Taken from the extensions directory App Inventor Extensions | Pura Vida Apps

Taifun

@Anirudh
com.glich.simplevideoplayer.aix (8.3 KB)

I made this extension especially for you.
blocks (20)


Set the URL like this:

https://drive.google.com/uc?export=download&id=FILE_ID

If helpful, mark as solution :white_check_mark:

My sincere thanks from the bottom of my heart for your great help towards my issue
Solving a great problem with difficulty

I tried this extension it’s working fine for that video
which I have attached as a sample

But when I tried with a video of 800mb the extension is showing an error
ERROR CODE 1

Can you please tell how much maximum size of videos can be played using this extension

If you don’t mind can you please tell me from where did you got this extension

If you have any other solutions kindly let me know
I need to open a video which will be between 700mb to 900 mb

1 Like

I made this extension myself. I will fix this bug as soon as possible, thanks for informing me.

1 Like

Thanks for taking trouble and creating a new extension for me with much effort

I hope the issue will get resolved
Once the bug is resolved kindly let me know in this chat itself