# How to embed processing sketch onto HTML web page?

**URL:** https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151
**Category:** Processing
**Created:** [May 21, 2020, 11:34pm UTC](https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151 "2020-05-21T23:34:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Java.SourceForger](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/java.sourceforger/32/9831_2.png) [@Java.SourceForger](https://discourse.processing.org/u/Java.SourceForger)
#### Post date: [May 21, 2020, 11:34pm UTC](https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151/1 "2020-05-21T23:34:02Z")

</div>

Hi. how to I embed my processing sketch directly onto a web page?  
My sketch uses P3D.  
**libraries:** Sound, Video and other miscellaneous libraries.

---

<div class="post-metadata">

### Author: ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)
#### Post date: [May 22, 2020, 6:17am UTC](https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151/2 "2020-05-22T06:17:54Z")

</div>

The short answer is that you can’t. If you have a Processing sketch that uses Java libraries, you can only deploy it as an application.

Shameless self-promotion:

> **[Exporting Applications](https://happycoding.io/tutorials/processing/exporting-applications)**
>
> Share your programs with other people.

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [May 22, 2020, 3:42pm UTC](https://discourse.processing.org/t/how-to-embed-processing-sketch-onto-html-web-page/21151/3 "2020-05-22T15:42:41Z")

</div>

If you need 3D, audio and video in a web page, your other option is to do a full rewrite in p5.js.
