Welcome to OpenXML Developer Sign in | Join | Help

Auto change aspect ratio of a video

Last post 07-29-2008, 4:06 PM by adamm. 1 replies.
Sort Posts: Previous Next
  •  07-20-2008, 7:24 PM 3486

    Auto change aspect ratio of a video

    hi  all,

    Iam making  an application about replacing a video with another video into ppt slide  using open xml.

     The problem is that the new video is played in the same size of the original video inside the ppt slide. I need to auto change the aspect ratio of the video into the slide everytime depending on the new video .

    Thanks ,

    yahia

  •  07-29-2008, 4:06 PM 3511 in reply to 3486

    Re: Auto change aspect ratio of a video

    you are gonna need to change the values within the xfrm tag to match the aspect ratio of the video. The xfrm info is what decides the positioning and size of a 2-d object. This tag goes in the visual properties of the shape, and will override any positioning info in the slide layout. look up the tag in the drawingML section of the specification to find out its usage, and schema.
View as RSS news feed in XML