Thumbnail on Windows Media Player

Hello Mudassir,

Aspose recently supported Windows Media Player on PowerPoint using ControlTypeEx.WindowsMediaPlayer.

We need a way using WMP to have thumbnails for Videos.Currently it shows black screen.
Default player on the other hand supports thumbnails by Aspose API.We want a similar API to set thumbnail for WMP video as well.Can you help in this regard ?

Thanks and Regards
Mohit Garg

Hi Mohit,

I have observed the
requirement shared and regret to share that at present the support for
setting fill image for Media Player ActiveX control seems to have some
issue. The following code is to be used for setting the image but it
does not seem to work. An issue with ID SLIDESJAVA-34070 has been
created in our issue tracking system to further investigate and resolve
the issue. This thread has been linked with the issue so that you may
be automatically notified once the issue will be resolved.

public static void testActiveX()
{

//Create empty presentation instance
PresentationEx newPptx = new PresentationEx();

BufferedImage image=null;
try {
image = ImageIO.read(new File(“C:\Users\Public\Pictures\Sample Pictures\Desert.jpg”));
} catch (IOException e) {
}

ImageEx imgx = newPptx.getImages().addImage(image);

//Adding the Media Player ActiveX control
ControlEx

movieControl=newPptx.getSlides().get_Item(0).getControls().addControl(ControlTypeEx.WindowsMediaPlayer,
100, 100, 400, 400);

//Access the Media Player ActiveX control and set the video path
movieControl.getProperties().set_Item(“URL”, “C:\Users\Public\Videos\Sample Videos\Wildlife.wmv”);
movieControl.getSubstitutePictureFormat().getPicture().setImage(imgx);
//Save the Presentation
newPptx.save(“D:/Aspose Data/Output.pptx”, com.aspose.slides.SaveFormat.Pptx);


}


We are sorry for your inconvenience,

Any update on this Mudassir?

Hi Mohit,

I like to share that the issue has been observed in Aspose.Slides for .NET as well and our development team is working over its resolution in Aspose.Slides for .NET. As soon as it will be resolved in Aspose.Slides for .NET, it will then be ported to next subsequent release of Aspose.Slides for Java. We will share the good news with you as soon as the issue will be resolved.

We are sorry for your inconvenience,

Any update on this Mudassir ?

Hi Mohit Garg,


I regret to share that the issue specified has not yet been resolved. The issue is blocked owing to its implementation in Aspose.Slides for .NET. As soon as it will be fixed in Aspose.Slides for .NET, it will be fixed in Aspose.Slides for Java afterwards. Our development team is working over the specified issue and we will share the good news with you as soon as the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-34070) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.