Example: Media Grid

PreloadJS can load a variety of media. In this example, click each example to load its related item. Once the item is loaded, it will display (image, svg), play (sound), apply to the document (css), or display an alert (script). Note that when loading images, sounds, css, scripts, or svg locally, you need to ensure that PreloadJS uses tag loading to avoid cross-origin errors. Other media types will not load locally.

Click an item to load it.