Skip to content

Commit

Permalink
added videos
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrks committed Aug 26, 2024
1 parent 3d30495 commit 943f633
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/NavItems/tools/C2pa/C2pa.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const C2paData = () => {
fileInput={imageFile}
setFileInput={setImageFile}
handleSubmit={handleSubmit}
fileInputTypesAccepted={"image/*"}
fileInputTypesAccepted={"image/*, video/*"}
handleCloseSelectedFile={handleClose}
/>
</form>
Expand Down
8 changes: 4 additions & 4 deletions src/components/NavItems/tools/C2pa/Results/C2paResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const C2paResults = (props = { result, handleClose }) => {

const data = props.result;

const img = data[currentImageId].url;
const url = data[currentImageId].url;
const parentId = data[currentImageId].parent;
const manifestData = data[currentImageId].manifestData;
const validationIssues = data[currentImageId].validationIssues;
Expand Down Expand Up @@ -83,9 +83,9 @@ const C2paResults = (props = { result, handleClose }) => {
<Grid item>
<Typography variant="h6">{keyword(title)}</Typography>
</Grid>
<Grid item p={1}>
{/* <Grid item p={1}>
<Alert severity="info">{keyword(information)}</Alert>
</Grid>
</Grid> */}
</Grid>
);
};
Expand Down Expand Up @@ -113,7 +113,7 @@ const C2paResults = (props = { result, handleClose }) => {
<Grid item container justifyContent="center" xs>
<Grid item>
<img
src={img}
src={url}
style={{
maxWidth: "100%",
maxHeight: "60vh",
Expand Down

0 comments on commit 943f633

Please sign in to comment.