@joecooldoo, please import the Audio Comp library.
I did click the .
Sure. And I love the idea of a sound editor!
Did the record window pop up? It should have.
It makes recording and editing way easier(!
Oh, ok. Ill add uploading and downloading. Could this be a collaboration between the two of us?
Awesome! Could you try to develop a system that detects if your in the editor?
Yes! I think I can figure out some JS.
(Hopefully it comes out decent)
Alrighty, I get to work on uploading and downloading.
One more question, should we post it on both of our profiles? I want to add some more projects to my profile.
yes we can but we need to give credit to the other person for helping each other.
Oh, ok then. I'll do that!
I tried to make some JS, but sadly the way I used does not work at all because only a few JS function work in the community site and the
return 1 ;
was one of them.
I think this might work.
return location.href === parent.location.href;
Put it inside a NOT block to see if it's running in the project page.
Basically, it checks if the window is running in an iframe or not.
That's because the project page is running an iframe, which means the window in the project is not the same as the window in the community site. This leads to many scripts failing such as downloads. However, there is a solution to this. Anything that comes after
window. or is referenced despite not declaring it earlier on, should be prefixed with
top.window. (It's fine if it says
window.window, it will still work but is a bit ugly.)
@joecooldoo , the deeds have been done.