Support » Plugin: Interactive Content – H5P » Sync libraries programmatically

  • edward_plainview


    Author of Broadcast here.

    Some users of mine use Broadcast together with H5P to broadcast pages with h5p content to other sites on the same WP network install.

    Broadcast requires that the same libraries be installed on all sites. This requires the users to manually install the same libraries on all 10, 100, 1000 sites.

    Is there a way programmatically sync the libraries? Something like:

    1. h5p()->get_installed_libraries();
    2. h5p()->install_libraries( lib1, lib2, lib3 );

Viewing 1 replies (of 1 total)
  • Plugin Author icc0rz



    I agree it would be preferable if the libraries were installed/managed on a network level instead of per site. I guess it was just convenience and a lack of time that resulted in the current solution to just get the plugin working on network installs. Hopefully, I or someone else will get the time to look into how can make this better and get the content type(libraries) management to work from the network admin level.
    I’m a bit worried that a programmatic sync solution will just add more challenges, but feel free to look more into this. Maybe it could be an option we add to network installs until we can get proper network management.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.