how to embed P5.js sketches
-
Hello,
Is there a way I could upload P5.js sketches as projects? I tried installing p5.js embedder plugin, but it doesnt seem to work with laytheme. Though it installed and activated successfully, it seems to break the media uploader interface. Any suggestions/work arounds would be really helpful. Below is a link for your reference.
https://courses.ideate.cmu.edu/15-104/f2017/embedding-p5-js/
Thanks,
Sunil -
Hi Sunil,
I think that will be a rather difficult one:
http://laytheme.com/documentation.html#custom-javascriptLaytheme is coded as a single javascript application. This is why some javascript things need adjustment.
Iframe is not a solution, I assume?
Best!
Marius
-
@mariusjopen said in how to embed P5.js sketches:
Iframe is not a solution, I assume?
Hi Marius,
Thanks for the quick revert. Im not very familiar with the HTML/CSS, but can manage some basic stuff in this medium. Could you elaborate a bit on the iframe?
Thanks,
Sunil
1/3
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it