Hello Everyone
How are you…
First I’m saying a sorry for My Bad English
Describing the Problem
I tried to Find YouTube Video ID from a Link…
So, I’m using Replace all block to do that…
But, It doesn’t working…
Screen Record
Aia
YouTube.aia (5.5 KB)
Blocks Image
Screen1
YouTube Screen
APK
YouTube.apk (5.3 MB)
(poll removed by Taifun, please only use that community feature when neessary. Thank you)
Replying :- Okay, Thanks
Because “https” also contains “http”.
Therefore it will jump to this:
Since “https://…” doesn’t contain “http://…”, it won’t replace the text.
You should check for https first before http in the if else.
1 Like
Btw, I remake your code so that it reduces the blocks. But it does the similar things: replace text and contains text.
4 Likes
dora_paz
(Dora)
#4
Another way to find youtube id is to create a procedure like this
3 Likes
dora_paz
(Dora)
#5
Try this and see if it works
YouTube_1.aia (5.1 KB)
1 Like
Very very Thanks @dora_paz and @WatermelonIce
@WatermelonIce I selected your method because I seem its easy…
1 Like
@WatermelonIce , Please watch this video
I wanna to “when a user enter an invalid YouTube Link…, Then, show the error message…”
So, How to do it ?
create a new topic for it.
well u shall try if then else
How can I change a post to a new topic ?
system
(system)
Closed
#10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.