Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks for pointing me in the direction of the TimeLine object. However, I am still stuck on how I trigger the sound to play in code. My understanding is that I need to get a SoundEffect object from somewhere, so that I can call SoundEffect.Play(). After using this code, the shape.AnimationSettings.SoundEffect still doesn't give me something I can Play(), and I don't quite understand how I can use the TimeLine to get something playable. Can you provide any guidance? The Ppt object is still very mysterious to me...
      singulars
    2. CO@Mathias: How are you looking to play it other than how the `PlaySettings` above are set? For example, are you planning to go into SlideShowView and then after clicking the letter "P" it will play? Or are you looking to click on an object, like a shape, and then it play? Or are you trying to play it in Normal view? I'm trying to understand how you're expecting it and then I can update the code. One thing to note is that this isn't really a "media object" first and then an "animation" second - it's an animation first, so things like "Play" are not really what you'd expect.
      singulars
    3. COSorry if my scenario wasn't clear. What I want to do is trigger playing from code, not through the presentation. Roughly, my add-in maintains a collection of the shapes that have sound, displayed in a listbox. When the user selects an item, I can access the shape, and I would like the sound to play. This is not in Slide Show mode, but in Normal mode (slide design). AddMediaObject creates clickable shapes that play the sound in Slide Show mode, I am looking for a way to play the sound attached to the shape in "design" mode, programmatically.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload