p5.js, médias files, and wordpress

Hi, I have translated a processing sketch in p5.js to use it as a web page (It use sound, that's why I didn't go with processing in javascipt mode). It's a sketch with multi-tabs, and a lots of media (around 30 png and 60 mp3). I want to use it in worpress, as a page, of integrated in a page. I looked for a solution for 3 days, but I didn't find something which work (multi-tabs and media). Can somebody can explain me how to do it, or gimme some usefull links or tips? Thanks for your help! A.

Tagged:

Answers

  • In what way is it not working? Sounds like loading all that media might be ok when testing locally; but die horribly when you attempt it over a net connection... or maybe you're not using preload()? Maybe the problem is loading resources via Wordpress?

    Be more specific ;)

  • Hi blindfish, thanks for your help. I'm actually working locally at the moment, and I'm using preload. My question is actually more about integration: how to load my scripts (tabs?), where/how to put my media folder, etc. As you can see, I'm really not a web person...;-) Thanks!

Sign In or Register to comment.