mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-29 13:00:18 +00:00
| Package | Version | Package | Version | | -------------------- | ------- | -------------------- | ------- | | @uppy/audio | 2.0.1 | @uppy/status-bar | 4.0.1 | | @uppy/aws-s3 | 4.0.2 | @uppy/store-default | 4.1.0 | | @uppy/compressor | 2.0.1 | @uppy/transloadit | 4.0.1 | | @uppy/core | 4.1.0 | @uppy/utils | 6.0.1 | | @uppy/dashboard | 4.0.2 | @uppy/webcam | 4.0.1 | | @uppy/remote-sources | 2.1.0 | uppy | 4.1.0 | - @uppy/remote-sources: fix options type (Merlijn Vos / #5364) - @uppy/transloadit: do not mark `opts` as mandatory (Antoine du Hamel / #5375) - @uppy/compressor: mark `quality` as optional (Antoine du Hamel / #5374) - @uppy/aws-s3: improve error when `endpoint` is not provided (Antoine du Hamel / #5361) - @uppy/core,@uppy/store-default: export `Store` type (Merlijn Vos / #5373) - @uppy/dashboard: make `toggleAddFilesPanel` args consistent (Evgenia Karunus / #5365) - @uppy/dashboard: Dashboard - convert some files to typescript (Evgenia Karunus / #5359) - @uppy/audio,@uppy/webcam: Don't use `<h1>` in Uppy markup (Evgenia Karunus / #5355) - @uppy/status-bar: GoldenRetriever + `hideUploadButton=true` (Evgenia Karunus / #5350) - meta: Bump docker/build-push-action from 6.3.0 to 6.4.1 (dependabot[bot] / #5360)
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.1.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.1.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>
|