xibosignage / xibo-dotnetclient

Xibo for Windows .NET Player
GNU Affero General Public License v3.0
63 stars 91 forks source link

2 R255.3 PowerPoint presentations don't start running #174

Open alexharrington opened 3 years ago

alexharrington commented 3 years ago

PowerPoint presentations now load properly in 2 R255, but they don't play through the slides as expected.

If you manually start the presentation running, then the rest of the presentation runs respecting the timings in the slides, but something is preventing the first slide from advancing automatically.

OP: https://community.xibo.org.uk/t/powerpoint-slides-not-advancing/23539

dasgarner commented 3 years ago

Strange - we are passing straight to IE as before. I wonder if something has changed now in IE to prevent this from working.

dasgarner commented 3 years ago

This is reproducible in a very simple example WPF project with the following MainWindow:

namespace PowerPointViewer
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            WebBrowser browser = new WebBrowser();
            this.Scene.Children.Add(browser); // This is the name of the Grid in XAML
            //browser.Navigate(@"http://localhost:9696/2061.pps");
            browser.Navigate(@"C:\Users\Dan\Documents\Xibo Library\2061.pps");
            //browser.Navigate(@"C:\Users\Dan\Documents\Xibo Library\powerpoint.html"); // Serve via iframe
            //browser.Focusable = true;
            //browser.Focus();
        }
    }
}

Where the path is to any ppt/pps file. Initially I thought the ActiveX content was being blocked, but running it via a local browser should avoid that problem.

Opening up the same ppt/pps file in IE directly, and things work as they should.

Dante4 commented 1 year ago

Bug is still there on version R305.1 with Microsoft Office 2016 and Windows 10 1809. If I open pptx in IE11 everything is working correctly, if I'm using Xibo player presentation refuses to advance until I manually start presentation

schmeed commented 1 year ago

Any updates on this? I believe I am impacted by after upgrading CMS to 3.3.2 and Windows clients to 3.307.00

dasgarner commented 1 year ago

Unfortunately there is very little we can do about this as the WebBrowser control for IE11 is end of life and the new alternative doesn't support embedding.

The best alternatives we know of are:

As before, if anyone knows of any registry settings or similar which solve this problem we'd be more than happy to include them, but as far as we know there aren't any.