mjkhan21 1 year ago
commit a167d7bf84

@ -46,13 +46,9 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
for (Crdn crdn: crdns) {
List<FileInfo> files = byInfoKey.get(crdn.getLinkId());
for(FileInfo file : files) {
if(file.getMimeType().startsWith("video")) {
files.remove(file);
continue;
}
files.removeIf(item -> item.getMimeType().startsWith("video"));
for(FileInfo file : files) {
file.setInputStream(file.getInputStream()); //신규 인풋스트림 생성
file.setUrl(""); //인터페이스 첨부파일정보 제거
file.setPath(""); //국민신문고 첨부파일정보 제거

@ -64,7 +64,7 @@
<div class="card d-inline-flex"
style="width:1400px;height:850px;padding: 10px;background-color: #E2E6E9;border: solid 1px #ccc;">
<div class="d-flex justify-content-center align-items-center" style="border-style: solid;width:100%;height: 100%">
<video id="video" width="1200" controls="true" hidden>
<video id="video" style="max-width:1200px;max-height:700px;" controls="true" hidden>
</video>
</div>
</div>

Loading…
Cancel
Save