{"action":"created","issue":{"url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/491","repository_url":"https://api.github.com/repos/PHPOffice/PHPPresentation","labels_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/491/comments","events_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/491/events","html_url":"https://github.com/PHPOffice/PHPPresentation/issues/491","id":348481391,"node_id":"MDU6SXNzdWUzNDg0ODEzOTE=","number":491,"title":"Audio and Video in Office 2010 is working after adjusting PHP-code.","user":{"login":"Laar2","id":42186914,"node_id":"MDQ6VXNlcjQyMTg2OTE0","avatar_url":"https://avatars1.githubusercontent.com/u/42186914?v=4","gravatar_id":"","url":"https://api.github.com/users/Laar2","html_url":"https://github.com/Laar2","followers_url":"https://api.github.com/users/Laar2/followers","following_url":"https://api.github.com/users/Laar2/following{/other_user}","gists_url":"https://api.github.com/users/Laar2/gists{/gist_id}","starred_url":"https://api.github.com/users/Laar2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laar2/subscriptions","organizations_url":"https://api.github.com/users/Laar2/orgs","repos_url":"https://api.github.com/users/Laar2/repos","events_url":"https://api.github.com/users/Laar2/events{/privacy}","received_events_url":"https://api.github.com/users/Laar2/received_events","type":"User","site_admin":false},"labels":[{"id":11292959,"node_id":"MDU6TGFiZWwxMTI5Mjk1OQ==","url":"https://api.github.com/repos/PHPOffice/PHPPresentation/labels/Component%20-%20PowerPoint2007","name":"Component - PowerPoint2007","color":"444444","default":false},{"id":93165507,"node_id":"MDU6TGFiZWw5MzE2NTUwNw==","url":"https://api.github.com/repos/PHPOffice/PHPPresentation/labels/Source%20-%20Pull%20Request","name":"Source - Pull Request","color":"0b02e1","default":false},{"id":6847853,"node_id":"MDU6TGFiZWw2ODQ3ODUz","url":"https://api.github.com/repos/PHPOffice/PHPPresentation/labels/Type%20-%20Enhancement","name":"Type - Enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-07T20:47:46Z","updated_at":"2018-12-05T16:13:56Z","closed_at":null,"author_association":"NONE","body":"I am using PHPPresentation to create PPTX for Office 2010. When adding a video the PPTX must be repaired.\r\nI compared some files and saw the following :\r\n\r\n- in the PPTX this file is missing : \\ppt\\media\\image1.png . This image is used as the black background in the video .\r\n- in the ppt\\slides\\_rels\\slide1.xml.rels the reference to this image1.png is also missing\r\n- In the file ppt\\slides\\slide1.xml  the `<a:blip r:embed=\"rId4\"/>` must reference this image1.png\r\n- In the file ppt\\slides\\slide1.xml  the `<a:videoFile r:link=\"rId2\"/>` must reference a video : `<Relationship Id=\"rId2\" Type= \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/video\" Target=\"../media/sintel_trailer-480p2.wmv\"/>`\r\n- In the file ppt\\slides\\slide1.xml  the `<p14:media xmlns:p14 = \"http://schemas.microsoft.com/office/powerpoint/2010/main\" r:embed=\"rId3\"/>` must reference a media file :  `<Relationship Id=\"rId3\" Type=\"http://schemas.microsoft.com/office/2007/relationships/media\" Target=\"../**media**/sintel_trailer-480p2.wmv\"/>`\r\n- `<cNvPr>` has a duplicate ID, make these unique\r\n- The entire `<p:timing>` bock is missing. the SPID values inside the timing block must match the ID of the second `<cNvPr>`\r\n\r\n(the used IDs are only for clarifying ...)\r\n\r\nSo when the missing image is there, the references to the media are all ok and the controles are linked (shape-target) to the right ID, then it works OK in Office 2010.\r\n\r\nIs there someone still working on PHPpresentation?\r\n\r\n[Sample_03_Image_manually_repaired.pptx](https://github.com/PHPOffice/PHPPresentation/files/2268024/Sample_03_Image_manually_repaired.pptx)\r\n[Sample_03_Image_needs_repair.pptx](https://github.com/PHPOffice/PHPPresentation/files/2268025/Sample_03_Image_needs_repair.pptx)\r\n\r\n[all_files.zip](https://github.com/PHPOffice/PHPPresentation/files/2268046/all_files.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/comments/444543356","html_url":"https://github.com/PHPOffice/PHPPresentation/issues/491#issuecomment-444543356","issue_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/491","id":444543356,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDU0MzM1Ng==","user":{"login":"Laar2","id":42186914,"node_id":"MDQ6VXNlcjQyMTg2OTE0","avatar_url":"https://avatars1.githubusercontent.com/u/42186914?v=4","gravatar_id":"","url":"https://api.github.com/users/Laar2","html_url":"https://github.com/Laar2","followers_url":"https://api.github.com/users/Laar2/followers","following_url":"https://api.github.com/users/Laar2/following{/other_user}","gists_url":"https://api.github.com/users/Laar2/gists{/gist_id}","starred_url":"https://api.github.com/users/Laar2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laar2/subscriptions","organizations_url":"https://api.github.com/users/Laar2/orgs","repos_url":"https://api.github.com/users/Laar2/repos","events_url":"https://api.github.com/users/Laar2/events{/privacy}","received_events_url":"https://api.github.com/users/Laar2/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T16:13:56Z","updated_at":"2018-12-05T16:13:56Z","author_association":"NONE","body":"I created my own version of PHPpresentation. I can send you the code.\r\n\r\nIt includes samples how to use the new classes Audio en Video.\r\nBut ONLY for PPTX, not for ODP!"}}
{"actor":{"display_login":"Laar2"}}