[FREE] YouTube info extension

YouTube Extension

Hi, I have just developed an extension that allows you to:

  • Listen to the audio of a YouTube video as MP3 in a "player".
  • Get the Thumbnail from a YouTube video
  • Get the title of a youtube video

Disadvantages:

after many requests, it crashes for a while (not very long), in this case, the block will return the value "Error".


Blocks


It gets the url of the .mp3 file

You can play the audio like this:



It gets the name of the YouTube video.

You can get the name like this:



It gets the Thumbnail of the video.
You can put the thumbnail in an "image" like this:


What is the video "id"?

image

Video "id" is the final part of the YouTube video url:

https://www.youtube.com/watch?v=60ItHLz5WEA


Download

You can download the extension here: com.meulencv.youtube.aix (11.2 KB)

6 Likes

Thanks for you're contribution. Please follow the naming conventions. getThumbnail must be GetThumbnail.

1 Like

ok, I am going to change it,
thanks

I just fixed the problem

1 Like

Hi @Meulencv all functions in your extension, I can made it without using your extension. :pleading_face:

My Blocks :

And the Blocks I made above produce results that are 100% same as the extension you made.
(I've been very thorough in making this project)

Aia Project :
YouTubeInfo.aia (3.7 KB)

5 Likes

Thanks @Salman_Dev To verify my work, but the goal is to simplify the use of YouTube MP3s.

2 Likes

With this code you can play an mp3 with a player?

yeah of course, all the logic that I made yielded 100% the same result as your extension.
if you don't believe me, try aia project that i share

1 Like

OK, I believe you

1 Like

Thank you :innocent:

1 Like

This is totally awesome!

1 Like

thanks @JosiahIsCool

Why it returns "Error" every time?

1 Like

Hello,
It return error if you do a lot of request, you need to wait a time to can do requests

Hi @Meulencv it is a awesome extension i loved it because it simplifies a lot but i have a request can you make the audio downloadable like the download url its ok if you cant do it

Hello,
I don't know how to do it, but I think that there are extensions that allows you to download

But my extension already gives you the URL of the mp3

Thanks

The Url is the result right component_event (1)

1 Like

yes, the url is the result

@Meulencv will you be able give a little more info about the video like the duration or the date published etc

1 Like

not every time url is like that , you should try my demo extension from here -

1 Like