-
Notifications
You must be signed in to change notification settings - Fork 529
Video embed is broken #681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can confirm this is broken. At least part of the problem is here:
This won't create a correct relationship id, since However, that's only part of the problem. When I edit this manually to the correct relationship id, PowerPoint will open the presentation, but say that the video file was not found. |
Correction: With the above fix, PowerPoint finds and correctly plays the video. The only thing not working is a thumbnail display when the video is stopped. This would require another relationship with a thumbnail image. However, that's a big step which would probably introduce new dependencies to automatically create thumbnails from videos when packing the .pptx file. |
This fixes the broken relationship reference for video files as described in PHPOffice#681. Videos will work with this patch, but no thumbnail is displayed when the videos is stopped. (This would require thumbnail creation and another relationship for the thumbnail image.)
Did this ever work? And were thumbnails created automatically back when it worked? |
This fixes the broken relationship reference for video files as described in PHPOffice#681. Videos will work with this patch, but no thumbnail is displayed when the videos is stopped. (This would require thumbnail creation and another relationship for the thumbnail image.)
The video embed appears to be broken. On the dev branch, if I run Sample_03_Video.php and attempt to open the pptx I get an error.

The xml looks a bit different than a slide that I manually add a video to. The odp file is also not working, but I am mostly looking at pptx. I am on PowerPoint 16.54 on a mac. I am attaching my sample (testvideo.pptx) and the output from the sample (Sample_03_Video.pptx).
Sample_03_Video.pptx
testvideo.pptx
The text was updated successfully, but these errors were encountered: