fix(DICOM PDF and Video): fixes for local DICOM load and remote data sources (#3374)
* fix(DICOM PDF and Video) - added retrieve.directURL for local DICOM load data source; it returns a data URL - fixed various checks for video using transfer syntaxes and SOP class UID with number of frames - added call to 'rendered' endpoint for those data sources that support it; others get BulkDataURI * Added DOC (PDF) and OT (for video in particular) to list of non-image thumbnail modalities. * Fixed broken e2e tests.
This commit is contained in:
1 parent
0eda151418
commit
8eaa1877fd
12 files changed
+59
-20
No files matched your search
@@ -14,15 +14,14 @@ function OHIFCornerstonePdfViewport({ displaySets }) {
|
||||
|
||||
useEffect(() => {
|
||||
const load = async () => {
|
||||
await pdfUrl;
|
||||
setUrl(pdfUrl);
|
||||
setUrl(await pdfUrl);
|
||||
};
|
||||
|
||||
load();
|
||||
}, [pdfUrl]);
|
||||
|
||||
return (
|
||||
<div className="bg-primary-black w-full h-full">
|
||||
<div className="bg-primary-black w-full h-full text-white">
|
||||
<object data={url} type="application/pdf" className="w-full h-full">
|
||||
<div>No online PDF viewer installed</div>
|
||||
</object>
|
||||
|
||||
Reference in new issue
Block a user