-
Notifications
You must be signed in to change notification settings - Fork 526
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
Embed a video #123
Comments
Is anything being done with this issue? |
@jjmontgo For the moment, but we are open to pull requests :) |
Thank you so much for your response. I've been looking at this tool for a while and it looks great. |
@jjmontgo Have you got a sample PPTX with a video embed ? Thanks |
Sorry no. Just a client with a request. :(
|
@jjmontgo Have you got a PowerPoint2007 ? |
Are you doing an implementation?
|
@jjmontgo Yeap. I just search a sample file with a video embed in the file for analyzing the file. |
Note : Sample file : Présentation_Video.pptx |
Nice thanks will check it out
|
@jjmontgo Don't worry. I'm on it. |
@jjmontgo Could you test this commit Progi1984/PHPPresentation@4696fda before integration, please ? |
Will do thank you
|
@jjmontgo Thank you for the feedback :) |
I tried it using PowerPoint 2003, and the video did not show up. I do know On Mon, Mar 7, 2016 at 9:46 AM, Progi1984 [email protected] wrote:
|
Oh I should also mention I was running one of the bundled samples; sample #3 On Mon, Mar 7, 2016 at 12:55 PM, Jonathan Montgomery [email protected]
|
@jjmontgo Could you test with this file : http://www28.online-convert.com/fr/telecharger-le-fichier/b79f91b6f95a532917d7dbb891a35b76/converted-aa7e9a0e.wmv ? |
@jjmontgo Try with this file, please : https://framadrop.org/r/r-Bmc72blR#1KtVD2xzVrM01onaLYVSMsnu4wmyZ3Nk1Ab3qHXOAr8= |
Hi! This had the same result. When opened in OpenOffice, a 90 x 90 thumbnail for the video appears. I added the video to the slide in Powerpoint 2003. It appears to leave the Here is the XML for the slide after inserting the video using the software: |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">
<p:cSld>
<p:spTree>
<p:nvGrpSpPr>
<p:cNvPr id="1" name=""/>
<p:cNvGrpSpPr/>
<p:nvPr/>
</p:nvGrpSpPr>
<p:grpSpPr>
<a:xfrm>
<a:off x="0" y="0"/>
<a:ext cx="0" cy="0"/>
<a:chOff x="0" y="0"/>
<a:chExt cx="0" cy="0"/>
</a:xfrm>
</p:grpSpPr>
<p:pic>
<p:nvPicPr>
<p:cNvPr id="13313" name="Sample image" descr="Sample image"/>
<p:cNvPicPr>
<a:picLocks noChangeAspect="1"/>
</p:cNvPicPr>
<p:nvPr/>
</p:nvPicPr>
<p:blipFill>
<a:blip r:embed="rId4"/>
<a:srcRect/>
<a:stretch>
<a:fillRect/>
</a:stretch>
</p:blipFill>
<p:spPr bwMode="auto">
<a:xfrm>
<a:off x="95250" y="95250"/>
<a:ext cx="2400300" cy="342900"/>
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst/>
</a:prstGeom>
<a:noFill/>
<a:ln w="9525">
<a:noFill/>
<a:miter lim="800000"/>
<a:headEnd/>
<a:tailEnd/>
</a:ln>
</p:spPr>
</p:pic>
<p:pic>
<p:nvPicPr>
<p:cNvPr id="13314" name="PHPPresentation logo"
descr="PHPPresentation logo"/>
<p:cNvPicPr>
<a:picLocks noChangeAspect="1"/>
</p:cNvPicPr>
<p:nvPr/>
</p:nvPicPr>
<p:blipFill>
<a:blip r:embed="rId5"/>
<a:srcRect/>
<a:stretch>
<a:fillRect/>
</a:stretch>
</p:blipFill>
<p:spPr bwMode="auto">
<a:xfrm>
<a:off x="95250" y="952500"/>
<a:ext cx="2352675" cy="342900"/>
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst/>
</a:prstGeom>
<a:noFill/>
<a:ln w="9525">
<a:noFill/>
<a:miter lim="800000"/>
<a:headEnd/>
<a:tailEnd/>
</a:ln>
</p:spPr>
</p:pic>
<p:sp>
<p:nvSpPr>
<p:cNvPr id="13315" name="Video" descr="Video"/>
<p:cNvSpPr>
<a:spLocks noRot="1" noChangeAspect="1"/>
</p:cNvSpPr>
<p:nvPr>
<a:videoFile r:link="rId1"/>
</p:nvPr>
</p:nvSpPr>
<p:spPr bwMode="auto">
<a:xfrm>
<a:off x="95250" y="1905000"/>
<a:ext cx="857250" cy="857250"/>
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst/>
</a:prstGeom>
<a:noFill/>
<a:ln w="9525">
<a:noFill/>
<a:miter lim="800000"/>
<a:headEnd/>
<a:tailEnd/>
</a:ln>
</p:spPr>
<p:txBody>
<a:bodyPr/>
<a:lstStyle/>
<a:p>
<a:endParaRPr lang="en-US"/>
</a:p>
</p:txBody>
</p:sp>
<p:pic>
<p:nvPicPr>
*<p:cNvPr id="13317" name="sintel_trailer-480p.wmv">*
<a:hlinkClick r:id="" action="ppaction://media"/>
</p:cNvPr>
<p:cNvPicPr>
<a:picLocks noRot="1" noChangeAspect="1"
noChangeArrowheads="1"/>
</p:cNvPicPr>
<p:nvPr>
<a:videoFile r:link="rId2"/>
</p:nvPr>
</p:nvPicPr>
<p:blipFill>
<a:blip r:embed="rId6"/>
<a:srcRect/>
<a:stretch>
<a:fillRect/>
</a:stretch>
</p:blipFill>
<p:spPr bwMode="auto">
<a:xfrm>
<a:off x="1319213" y="1600200"/>
<a:ext cx="6507162" cy="3657600"/>
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst/>
</a:prstGeom>
<a:noFill/>
</p:spPr>
</p:pic>
</p:spTree>
</p:cSld>
<p:clrMapOvr>
<a:masterClrMapping/>
</p:clrMapOvr>
<p:timing>
<p:tnLst>
<p:par>
<p:cTn id="1" dur="indefinite" restart="never" nodeType="tmRoot">
<p:childTnLst>
<p:seq concurrent="1" nextAc="seek">
<p:cTn id="2" restart="whenNotActive" fill="hold"
evtFilter="cancelBubble" nodeType="interactiveSeq">
<p:stCondLst>
<p:cond evt="onClick" delay="0">
<p:tgtEl>
<p:spTgt spid="13315"/>
</p:tgtEl>
</p:cond>
</p:stCondLst>
<p:endSync evt="end" delay="0">
<p:rtn val="all"/>
</p:endSync>
<p:childTnLst>
<p:par>
<p:cTn id="3" fill="hold">
<p:stCondLst>
<p:cond delay="0"/>
</p:stCondLst>
<p:childTnLst>
<p:par>
<p:cTn id="4" fill="hold">
<p:stCondLst>
<p:cond delay="0"/>
</p:stCondLst>
<p:childTnLst>
<p:par>
<p:cTn id="5" presetID="2"
presetClass="mediacall" presetSubtype="0" fill="hold"
nodeType="clickEffect">
<p:stCondLst>
<p:cond delay="0"/>
</p:stCondLst>
<p:childTnLst>
<p:cmd type="call" cmd="togglePause">
<p:cBhvr>
<p:cTn id="6" dur="1" fill="hold"/>
<p:tgtEl>
<p:spTgt spid="13315"/>
</p:tgtEl>
</p:cBhvr>
</p:cmd>
</p:childTnLst>
</p:cTn>
</p:par>
</p:childTnLst>
</p:cTn>
</p:par>
</p:childTnLst>
</p:cTn>
</p:par>
</p:childTnLst>
</p:cTn>
<p:nextCondLst>
<p:cond evt="onClick" delay="0">
<p:tgtEl>
<p:spTgt spid="13315"/>
</p:tgtEl>
</p:cond>
</p:nextCondLst>
</p:seq>
<p:video>
<p:cMediaNode>
<p:cTn id="7" fill="hold" display="0">
<p:stCondLst>
<p:cond delay="indefinite"/>
</p:stCondLst>
<p:endCondLst>
<p:cond evt="onNext" delay="0">
<p:tgtEl>
<p:sldTgt/>
</p:tgtEl>
</p:cond>
<p:cond evt="onPrev" delay="0">
<p:tgtEl>
<p:sldTgt/>
</p:tgtEl>
</p:cond>
</p:endCondLst>
</p:cTn>
<p:tgtEl>
<p:spTgt spid="13315"/>
</p:tgtEl>
</p:cMediaNode>
</p:video>
<p:seq concurrent="1" nextAc="seek">
<p:cTn id="8" restart="whenNotActive" fill="hold"
evtFilter="cancelBubble" nodeType="interactiveSeq">
<p:stCondLst>
<p:cond evt="onClick" delay="0">
<p:tgtEl>
<p:spTgt spid="13317"/>
</p:tgtEl>
</p:cond>
</p:stCondLst>
<p:endSync evt="end" delay="0">
<p:rtn val="all"/>
</p:endSync>
<p:childTnLst>
<p:par>
<p:cTn id="9" fill="hold">
<p:stCondLst>
<p:cond delay="0"/>
</p:stCondLst>
<p:childTnLst>
<p:par>
<p:cTn id="10" fill="hold">
<p:stCondLst>
<p:cond delay="0"/>
</p:stCondLst>
<p:childTnLst>
<p:par>
<p:cTn id="11" presetID="2"
presetClass="mediacall" presetSubtype="0" fill="hold"
nodeType="clickEffect">
<p:stCondLst>
<p:cond delay="0"/>
</p:stCondLst>
<p:childTnLst>
<p:cmd type="call" cmd="togglePause">
<p:cBhvr>
<p:cTn id="12" dur="1" fill="hold"/>
<p:tgtEl>
<p:spTgt spid="13317"/>
</p:tgtEl>
</p:cBhvr>
</p:cmd>
</p:childTnLst>
</p:cTn>
</p:par>
</p:childTnLst>
</p:cTn>
</p:par>
</p:childTnLst>
</p:cTn>
</p:par>
</p:childTnLst>
</p:cTn>
<p:nextCondLst>
<p:cond evt="onClick" delay="0">
<p:tgtEl>
<p:spTgt spid="13317"/>
</p:tgtEl>
</p:cond>
</p:nextCondLst>
</p:seq>
<p:video>
<p:cMediaNode>
<p:cTn id="13" fill="hold" display="0">
<p:stCondLst>
<p:cond delay="indefinite"/>
</p:stCondLst>
<p:endCondLst>
<p:cond evt="onNext" delay="0">
<p:tgtEl>
<p:sldTgt/>
</p:tgtEl>
</p:cond>
<p:cond evt="onPrev" delay="0">
<p:tgtEl>
<p:sldTgt/>
</p:tgtEl>
</p:cond>
</p:endCondLst>
</p:cTn>
<p:tgtEl>
<p:spTgt spid="13317"/>
</p:tgtEl>
</p:cMediaNode>
</p:video>
</p:childTnLst>
</p:cTn>
</p:par>
</p:tnLst>
</p:timing>
</p:sld> |
@jjmontgo It seems that uses an external link. I need to find a file generated by Powerpoint with a embed video in the file. |
I'll try playing around with it today and see if I can get it to embed
|
@jjmontgo You rocks ! Thanks :) |
@jjmontgo Some news ? |
Sorry not yet as things have been very hectic lately. :(
|
Sorry for taking so long. I've taken a look at Powerpoint, and it is not possible to embed the video Apparently in Powerpoint 2003 and 2007, the video cannot be embedded in the On Wed, Mar 16, 2016 at 10:30 AM, Jonathan Montgomery [email protected]
|
@jjmontgo I just asked on Twitter for a sample file : https://twitter.com/Progi1984/status/710455692960919553 Try with this video file : https://framadrop.org/r/r-Bmc72blR#1KtVD2xzVrM01onaLYVSMsnu4wmyZ3Nk1Ab3qHXOAr8= |
I've created an empty powerpoint presentation in Office 2010, added the file supplied above via Insert > Video and saved the presentation. No other changes were made. Will this do? |
Merged in develop branch |
http://www.aspose.com/docs/display/slidesnet/Adding+an+Embedded+Video+Frame+to+Slide
https://support.office.com/en-us/article/Compatible-multimedia-file-formats-fe6b7fd4-629e-43a0-a7e2-0dd927dac56d
The text was updated successfully, but these errors were encountered: