# Processing sketch loaded by html but does not run

**URL:** https://discourse.processing.org/t/processing-sketch-loaded-by-html-but-does-not-run/36907
**Category:** Processing
**Created:** [May 16, 2022, 2:09pm UTC](https://discourse.processing.org/t/processing-sketch-loaded-by-html-but-does-not-run/36907 "2022-05-16T14:09:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anrui71](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anrui71](https://discourse.processing.org/u/anrui71)
#### Post date: [May 16, 2022, 2:09pm UTC](https://discourse.processing.org/t/processing-sketch-loaded-by-html-but-does-not-run/36907/1 "2022-05-16T14:09:59Z")

</div>

Hello everyone!

Luckily I finally managed to integrate a pde-file into an html file with…

in head:   
in body:

This worked fine only after having uploaded .html and .pde to my online-server, while it didn’t run locally (for security reasons the browser denied to load the pde (cp. [Embedding .pde to html does not work/ .pde to p5.js - #5 by hannes](https://discourse.processing.org/t/embedding-pde-to-html-does-not-work-pde-to-p5-js/16181/5)).

Yet one problem remains now: the browser loads both .html and .pde and displays the content - only the pde dosn’t run (or move): The browser continuousy displays the first frame in freeze (the pde itself is a color animation). Running the same code in processing itself dows not cause any problam at all.

I would be very thankful to have any help or ideas on this!

---

<div class="post-metadata">

### Author: ![anrui71](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anrui71](https://discourse.processing.org/u/anrui71)
#### Post date: [May 16, 2022, 6:40pm UTC](https://discourse.processing.org/t/processing-sketch-loaded-by-html-but-does-not-run/36907/2 "2022-05-16T18:40:52Z")

</div>

Problem solved: I experimented with different porcessing.js-versions, in the end it’s 1.1.6 that does a fine job!
