Inorder to get image via js command your url must be valid, but you are having MP3 url by which you can play… see the source of your url, it is not in readable format, if so js command will not work, i hope so…
HERE
I feel it is unable . I was tried in mobile, based on result ive replied
.but you can try with extension, it will do rathar than js
Lily
(Lily)
February 7, 2022, 10:47am
#9
Still-learning:
HERE
the audio is valid I have made it by myself and I tested it on my own coded server try it and you will see here
upload audio to extract image
Lily
(Lily)
February 7, 2022, 11:48am
#10
This doesn’t work with online audio but it works with offline audio only
Lily
(Lily)
February 7, 2022, 12:42pm
#11
Still-learning:
Inorder to get image via js command your url must be valid, but you are having MP3 url by which you can play… see the source of your url, it is not in readable format, if so js command will not work, i hope so…
Hello @Still-learning help me upload file on this using js
audioextractor
I am trying to use this document.getElementById("src").setAttribute("src", URL.createObjectURL(files[0]));
code but I am not able to do it
Shreyaa
(shreya )
February 7, 2022, 12:52pm
#12
quick extension
com.shreya.audioImage.aix (4.9 KB)
I haven’t tested it yet, but it should work
use image component
1 Like
Shreyaa
(shreya )
February 7, 2022, 12:54pm
#15
yes only url of audio file
1 Like
Lily
(Lily)
February 7, 2022, 12:57pm
#16
nice to hear that let me test
Shreyaa
(shreya )
February 7, 2022, 1:02pm
#18
just now tested it working
image = image component of builder
1 Like
Lily
(Lily)
February 7, 2022, 1:06pm
#19
Wow it works like a charm you are the
legend and best among the other thank you in advance
@Shreyaa
1 Like
Lily
(Lily)
February 7, 2022, 1:53pm
#20
Hello @Shreyaa
I wonder why this block is not contained the image url
is there any way I can get the url image so that I can download the image or use it somewhere I need?
Shreyaa
(shreya )
February 7, 2022, 2:03pm
#21
there is no way for getting url image because it extract image from audio file.
i can make a method to save image to your app directory
1 Like
Lily
(Lily)
February 7, 2022, 2:04pm
#22
Can’t I save it to tinydb or upload it to cloudinary?
Shreyaa
(shreya )
February 7, 2022, 2:10pm
#23
you can upload to cloudinary from /com.package.name/files/image.png path and i don’t know about tinydb maybe image need to converted to Base64 string to save in tiny db
Lily
(Lily)
February 7, 2022, 2:12pm
#24
Yes this will be the best also instead of uploading to cloudinary
1 Like
Lily
(Lily)
February 7, 2022, 2:31pm
#25
@Still-learning if you get time I need your help or @dora_paz if you are online please help me on this
Shreyaa
(shreya )
February 7, 2022, 3:33pm
#26
Simple extension to get audio album photo
Blocks -
[blocks (21)]
[blocks (23)]
GetImage : You need to use Image component of builder in image section
Demo blocks -
[blocks (22)]
Download-
com.shreya.audioImage.aix version 1.1 (5.9 KB)
You can get new version from topic
system
(system)
Closed
March 9, 2022, 3:33pm
#27
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.