uppy/examples/cdn-example/index.html
github-actions[bot] bdc485d527
Release: uppy@4.4.1 (#5479)
| 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)
2024-09-30 09:32:44 +00:00

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>