mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-20 16:53:33 +00:00
| Package | Version | Package | Version | | ----------------- | ------- | ----------------- | ------- | | @uppy/core | 4.2.1 | uppy | 4.4.1 | | @uppy/transloadit | 4.1.2 | | | - @uppy/transloadit: fix multiple upload batches & run again (Merlijn Vos / #5478) - meta: build(deps): bump docker/build-push-action from 6.7.0 to 6.8.0 (dependabot[bot] / #5477) - meta: build(deps): bump vite from 5.2.11 to 5.4.8 (dependabot[bot] / #5471) - @uppy/svelte: build(deps-dev): bump rollup from 4.18.0 to 4.22.4 (dependabot[bot] / #5470) - meta: build(deps): bump vite from 5.2.11 to 5.4.6 (dependabot[bot] / #5466)
34 lines
975 B
HTML
34 lines
975 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.4.1/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.4.1/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>
|