Increasing the size limit of embedded media for the Microsoft PowerPoint Online

This article was written by Adam Rhinesmith, Support Escalation Engineer.

Symptoms

The Office Online Server is limited to 50 MB for embedded media in the PowerPoint Web App. You may experience the following error:

Screenshot of the cannot play media error message in PowerPoint Web App.

Resolution

To work round this issue, you can increase the size of the limit as follows:

  1. On the Microsoft Offices Online Server(s), edit the following file:

    C:\Program Files\Microsoft Office Web Apps\PPTConversionService\Settings_Service.ini

  2. Add the following lines at the bottom of the file and then save it:

    PowerPointEditServerMaxFileSizeBytes=(System.UInt64)153600000

    PowerPointServerMediaEmbeddedMaxSize=(System.UInt64)153600000

  3. Open an Admin PowerShell window on the Microsoft Offices Online Server(s) and the run the following cmdlet:

    Restart-service WACSM
    

This should allow up to 150 MB videos to be embedded. You can adjust the byte value to meet your needs.