mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
| Package | Version | Package | Version | | ---------------------- | ------------ | ---------------------- | ------------ | | @uppy/aws-s3 | 3.0.0-beta.2 | @uppy/react | 3.0.0-beta.2 | | @uppy/aws-s3-multipart | 3.0.0-beta.2 | @uppy/remote-sources | 1.0.0-beta.2 | | @uppy/companion | 4.0.0-beta.2 | @uppy/store-redux | 3.0.0-beta.2 | | @uppy/compressor | 1.0.0-beta.2 | @uppy/transloadit | 3.0.0-beta.3 | | @uppy/core | 3.0.0-beta.2 | @uppy/webcam | 3.0.0-beta.2 | | @uppy/dashboard | 3.0.0-beta.2 | @uppy/xhr-upload | 3.0.0-beta.2 | | @uppy/image-editor | 2.0.0-beta.2 | @uppy/robodog | 3.0.0-beta.3 | | @uppy/locales | 3.0.0-beta.3 | uppy | 3.0.0-beta.3 | - @uppy/react: Fix exports in propTypes.js to fix website build (Murderlon) - @uppy/dashboard,@uppy/webcam: Add support for `mobileNativeCamera` option to Webcam and Dashboard (Artur Paikin / #3844) - @uppy/aws-s3-multipart: make `headers` part indexed too in `prepareUploadParts` (Merlijn Vos / #3895) - @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: upgrade `nanoid` to v4 (Antoine du Hamel / #3904) - @uppy/companion: update minimal supported Node.js version in the docs (Antoine du Hamel / #3902) - @uppy/companion: upgrade `redis` to version 4.x (Antoine du Hamel / #3589) - @uppy/companion: remove unnecessary ts-ignores (Mikael Finstad / #3900) - meta: use `node:` protocol when using Node.js built-in core modules (Antoine du Hamel / #3871) - meta: upgrade to Vite v3 (Antoine du Hamel / #3882) - @uppy/companion: remove `COMPANION_S3_GETKEY_SAFE_BEHAVIOR` env variable (Antoine du Hamel / #3869) - meta: fix release script for major beta versions (Antoine du Hamel)
47 lines
1.6 KiB
HTML
47 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title></title>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.3/uppy.min.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<noscript>You need JavaScript enabled for this example to work.</noscript>
|
|
<button id="uppyModalOpener">Open Modal</button>
|
|
|
|
<script type="module">
|
|
import {
|
|
Core,
|
|
Dashboard,
|
|
Webcam,
|
|
Tus,
|
|
} from "https://releases.transloadit.com/uppy/v3.0.0-beta.3/uppy.min.mjs";
|
|
|
|
const uppy = new Core.Uppy({ debug: true, autoProceed: false })
|
|
.use(Dashboard, { trigger: "#uppyModalOpener" })
|
|
.use(Webcam, { target: Dashboard })
|
|
.use(Tus, { endpoint: "https://tusd.tusdemo.net/files/" });
|
|
|
|
uppy.on("success", (fileCount) => {
|
|
console.log(`${fileCount} files uploaded`);
|
|
});
|
|
</script>
|
|
|
|
<!-- To support older browsers, you can use the legacy bundle which adds a global `Uppy` object. -->
|
|
<script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.3/uppy.legacy.min.js"></script>
|
|
<script nomodule>
|
|
{
|
|
const { Core, Dashboard, Webcam, Tus } = Uppy;
|
|
const uppy = new Core.Uppy({ debug: true, autoProceed: false })
|
|
.use(Dashboard, { trigger: "#uppyModalOpener" })
|
|
.use(Webcam, { target: Dashboard })
|
|
.use(Tus, { endpoint: "https://tusd.tusdemo.net/files/" });
|
|
|
|
uppy.on("success", function (fileCount) {
|
|
console.log(`${fileCount} files uploaded`);
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|