mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-26 11:44:53 +00:00
| Package | Version | Package | Version | | --------------- | ------- | --------------- | ------- | | @uppy/aws-s3 | 4.2.2 | @uppy/unsplash | 4.3.2 | | @uppy/companion | 5.5.0 | uppy | 4.13.0 | - @uppy/aws-s3: always set S3 meta to UppyFile & include key (Merlijn Vos / #5602) - @uppy/companion: fix forcePathStyle boolean conversion (Mikael Finstad / #5308) - meta: Fix Webpack CI (Merlijn Vos / #5604) - @uppy/aws-s3: allow uploads to fail/succeed independently (Merlijn Vos / #5603) - meta: Add types for css files (Merlijn Vos / #5591) - @uppy/unsplash: make utmSource optional (Merlijn Vos / #5601) - meta: build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (dependabot[bot] / #5599) - meta: build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (dependabot[bot] / #5600) - @uppy/companion: add COMPANION_TUS_DEFERRED_UPLOAD_LENGTH (Dominik Schmidt / #5561)
34 lines
977 B
HTML
34 lines
977 B
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/v4.13.0/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 {
|
|
Uppy,
|
|
Dashboard,
|
|
Webcam,
|
|
Tus,
|
|
} from 'https://releases.transloadit.com/uppy/v4.13.0/uppy.min.mjs'
|
|
|
|
const uppy = new 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>
|
|
</body>
|
|
</html>
|