Convert URL to ID Video

I haven’t seen any extension for this, but you can easily do this with the blocks component, as @Kidular_user mentioned. I have attached examples below

Youtube:
image

Instagram:
image

Dailymotion:
image

Vimeo:
image

Hope this helps :grin:

3 Likes

hey @GeoBadge_Official thats very good but just so you know that not everytime in youtube url’s and other platforms only one type of url is there -
one example of youtube -

http://www.youtube.com/watch?v=0zM4nApSvMg&feature=feedrec_grec_index
http://www.youtube.com/user/SomeUser#p/a/u/1/QDK8U-VIH_o
http://www.youtube.com/v/0zM4nApSvMg?fs=1&hl=en_US&rel=0
http://www.youtube.com/watch?v=0zM4nApSvMg#t=0m10s
http://www.youtube.com/embed/0zM4nApSvMg?rel=0
http://www.youtube.com/watch?v=0zM4nApSvMg
http://youtu.be/0zM4nApSvMg
https://www.youtube.com/watch?v=nBuae6ilH24
https://www.youtube.com/watch?v=pJegNopBLL8
http://www.youtube.com/watch?v=0zM4nApSvMg#t=0m10s
https://www.youtube.com/watch?v=0zM4nApSvMg&feature=youtu.be
https://www.youtube.com/watch?v=_5BTo2oZ0SE
https://m.youtube.com/watch?feature=youtu.be&v=_5BTo2oZ0SE
https://m.youtube.com/watch?v=_5BTo2oZ0SE
https://www.youtube.com/watch?feature=youtu.be&v=_5BTo2oZ0SE&app=desktop
https://www.youtube.com/watch?v=nBuae6ilH24
https://www.youtube.com/watch?v=eLlxrBmD3H4`
1 Like

This is what I was going to say
So if there is an extension to do that, it will facilitate a lot of coding for us

1 Like

For youtube you can create a procedure as shown here

3 Likes

thank you so much

2 Likes

hey @mahmoud_hooda as you requested for a extension i made a sample extension for youtube - com.AK_Tech.VideoIDExtractor.aix (6.2 KB)

10 Likes

@luv.ak.tech
ohhhhhhhhhh nice
Thank you brooooooo
I will try out it .

1 Like

I hope that you add other sites for this extension to become a comprehensive extension

1 Like

well it was just a demo i will add when i get time

1 Like

If you do, do not forget to include a reference in the post so that I can view it

Thank you so much it helped a lot

1 Like

There is a question that preoccupies me, where did you get all these examples?
Because I want to make an extension to other sites

I had the same question
Hi @luv.ak.tech Can you tell us
where did you get all these examples?

from a google search

What did you search for?
I mean, for example, if I want all the examples for the dailymotion video link, what should I search for?

i forgot what i searched for its been 18 days how could i remember

1 Like

when you remember
please tell me

1 Like

i made another extension for vimeo here you go -
com.AK_Tech.VimeoIdFromUrl.aix (5.4 KB)
all valid urls -

http://vimeo.com/6701902
http://vimeo.com/670190233
http://player.vimeo.com/video/67019023
http://player.vimeo.com/video/6701902
http://player.vimeo.com/video/67019022?title=0&byline=0&portrait=0
http://player.vimeo.com/video/6719022?title=0&byline=0&portrait=0
http://vimeo.com/channels/vimeogirls/6701902
http://vimeo.com/channels/vimeogirls/67019023
http://vimeo.com/channels/staffpicks/67019026
http://vimeo.com/15414122
http://vimeo.com/channels/vimeogirls/66882931

all invalid urls -

http://vimeo.com/videoschool
http://vimeo.com/videoschool/archive/behind_the_scenes
http://vimeo.com/forums/screening_room
http://vimeo.com/forums/screening_room/topic:42708
6 Likes

You are the best extension developer

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.