Skip to content

cross origin problem #1048

@tomlecoz

Description

@tomlecoz

Nature of issue?

  • Found a bug

Details about the bug:

  • Web browser and version: on every browser
  • Operating System: on every OS
  • Steps to reproduce this bug:

go here https://editor.p5js.org
And try to load an image located somewhere on internet

Feature enhancement details:

Please just add the property "crossOrigin" and set it to "anonymous" for every file you want to load

for example
var img = document.createElement("img");
img.crossOrigin = "anonymous";
img.src = "https://pbs.twimg.com/profile_images/502135348663578624/-oslcYof.png"

the same for the sound, the video, the font, the file

This is the only thing you have to do to get it work, please do it, it can be done in 15 minutes , just look for ".src=" in the whole project and add a the crossOrigin-code just before.

Thank you

New feature details:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions