# P5 library - YOLO / Web works well, but does not work in p5

**URL:** <https://discourse.processing.org/t/p5-library-yolo-web-works-well-but-does-not-work-in-p5/36790>\
**Category:** Libraries\
**Created:** [May 10, 2022, 1:14am UTC](https://discourse.processing.org/t/p5-library-yolo-web-works-well-but-does-not-work-in-p5/36790 "2022-05-10T01:14:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 10, 2022, 1:24am UTC](https://discourse.processing.org/t/p5-library-yolo-web-works-well-but-does-not-work-in-p5/36790/2 "2022-05-10T01:24:57Z")

</div>

> [@GWAK](#):
>
> What’s the reason?

> [@Embedding .pde to html does not work/ .pde to p5.js](https://discourse.processing.org/t/embedding-pde-to-html-does-not-work-pde-to-p5-js/16181/6):
>
> The problem is that browsers block loadings from “file://” scheme. You’re gonna need some local server in order to run “.js” scripts as “http://” scheme instead. Alternatively, you can install Firefox: Once installed, go to its about:config page. Then at the search box there, type in privacy.file\_unique\_origin, and toggle it to false. Now you can run most sketches from there via the “file://” scheme.

---

_[View the full topic](https://discourse.processing.org/t/p5-library-yolo-web-works-well-but-does-not-work-in-p5/36790)._
