https://bz.apache.org/bugzilla/show_bug.cgi?id=64945
--- Comment #4 from Rahul <rahul.kr.sharm...@gmail.com> --- I does some changes in Embedded-Video presentation example. I commented the code section in which the byte-stream of file is adding in PackagePart class object. and in place of that I put bellow line part.addExternalRelationship(video.getPath(), "http://schemas.microsoft.com/office/2007/relationships/media"); part.addExternalRelationship(video.getPath(), "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"); Also in Add Video method I during adding relationship to PackagePart of Slide I pass video Uri and TargetMode External by bellow line of code prsEmbed1 = slide1.getPackagePart().addRelationship(video.toURI(), TargetMode.EXTERNAL, "http://schemas.microsoft.com/office/2007/relationships/media"); PackageRelationship prsExec1 = slide1.getPackagePart().addRelationship(video.toURI(), TargetMode.EXTERNAL, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video"); Doing this created a linked-video presentation but it gives error and needed to be repaired after that video played successfully. I compared all the xml file of repaired one and non-repaired one and I find no any difference. So something I missed what I do not know? Can you help me in this? Thanks -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org