{"action":"created","issue":{"url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin/issues/41","repository_url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin","labels_url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin/issues/41/comments","events_url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin/issues/41/events","html_url":"https://github.com/h5p/h5p-wordpress-plugin/issues/41","id":192090860,"number":41,"title":"Multisite Enhancements","user":{"login":"SteelWagstaff","id":13485451,"avatar_url":"https://avatars0.githubusercontent.com/u/13485451?v=4","gravatar_id":"","url":"https://api.github.com/users/SteelWagstaff","html_url":"https://github.com/SteelWagstaff","followers_url":"https://api.github.com/users/SteelWagstaff/followers","following_url":"https://api.github.com/users/SteelWagstaff/following{/other_user}","gists_url":"https://api.github.com/users/SteelWagstaff/gists{/gist_id}","starred_url":"https://api.github.com/users/SteelWagstaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteelWagstaff/subscriptions","organizations_url":"https://api.github.com/users/SteelWagstaff/orgs","repos_url":"https://api.github.com/users/SteelWagstaff/repos","events_url":"https://api.github.com/users/SteelWagstaff/events{/privacy}","received_events_url":"https://api.github.com/users/SteelWagstaff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-28T19:07:24Z","updated_at":"2017-11-24T16:02:05Z","closed_at":null,"author_association":"NONE","body":"We're running H5P on a Wordpress multisite (an instance of Pressbooks, actually), and would like to have a greater ability to centralize, manage, and share H5P activities across the network, without having to activate H5P for each individual site and install the H5P libraries over and over again each time a new site activates H5P. \r\n\r\nHere’s an ideal scenario or our use case:\r\n\r\n1. When H5P is network activated on a multisite network, a single instance of the necessary libraries is installed and a shared H5P activity library is created for all sites on the network to use (the multisite behaves like a single supersite, essentially).\r\n\r\n2. When a user creates a new H5P activity in a specific book/site in the network, that particular H5P activity receives a hard-coded tag that corresponds to the book/site’s identity in some way (perhaps the URL or the site title). They can add additional tags, but they can’t remove this tag. For example, if the book was “Portuguese\" at http://testsite.com/portuguese, any time a user logged into the Portuguese admin panel created an H5P activity, it would automatically be tagged ‘Portuguese’, giving the user a reliable filter to find only those activities in the library that were created in/for that book/site.\r\n\r\n3. When a user attempts to insert an H5P activity from the wordpress interface, the selection screen automatically loads with the hard-coded tag selected (so that the activities are already filtered by book/site). This tag can be removed/deselected by the user, however, allowing them to see all the H5P activities created and published on the network. For example, a user in the Portuguese book/site would click ‘Add H5P’ activity and the tag ‘Portuguese’ would automatically be selected, so that the user would only see H5P activities created on/for that book/site. If desired, however, they could X out Portuguese, and see any/all H5P activities created on the network, allowing them to insert an H5P activity created on/for another site in the network.\r\n\r\n4. When users use the ‘Insert H5P’ button on the WYSIWYG, the embed code for the H5P activity is inserted rather than an id-specific shortcode. This way, if the wordpress title is exported or moved to a different server, the H5P activity will remain embedded and functional, without having to reimport/upload all of the H5P activities to the new server in exactly the same order.\r\n"},"comment":{"url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin/issues/comments/346859010","html_url":"https://github.com/h5p/h5p-wordpress-plugin/issues/41#issuecomment-346859010","issue_url":"https://api.github.com/repos/h5p/h5p-wordpress-plugin/issues/41","id":346859010,"user":{"login":"SteelWagstaff","id":13485451,"avatar_url":"https://avatars0.githubusercontent.com/u/13485451?v=4","gravatar_id":"","url":"https://api.github.com/users/SteelWagstaff","html_url":"https://github.com/SteelWagstaff","followers_url":"https://api.github.com/users/SteelWagstaff/followers","following_url":"https://api.github.com/users/SteelWagstaff/following{/other_user}","gists_url":"https://api.github.com/users/SteelWagstaff/gists{/gist_id}","starred_url":"https://api.github.com/users/SteelWagstaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteelWagstaff/subscriptions","organizations_url":"https://api.github.com/users/SteelWagstaff/orgs","repos_url":"https://api.github.com/users/SteelWagstaff/repos","events_url":"https://api.github.com/users/SteelWagstaff/events{/privacy}","received_events_url":"https://api.github.com/users/SteelWagstaff/received_events","type":"User","site_admin":false},"created_at":"2017-11-24T16:02:05Z","updated_at":"2017-11-24T16:02:05Z","author_association":"NONE","body":"Hi @icc and others--I just wanted to check in on the status of this request. It appears that since version 1.7.2 we can now network enable H5P on multisite and allow each individual site to create H5P activities and install libraries on/for their own sites (thank you!). However, I'm not sure whether it is possible for us to centrally manage and maintain the various H5P libraries we use on that multisite. Here's our use case: we have a single WP multisite instance and want to make H5P available for all of the many sites on our network. We'd prefer to install and update the various H5P libraries for all the sites from a single place, rather than requiring each site admin to download and update their own individual libraries. Is that possible with the way the H5P for Wordpress plugin is currently written? If it's not, can anyone offer me a few pointers as to how it might be achieved to see whether this is something we could look into contributing a pull request for?"}}
{"actor":{"display_login":"SteelWagstaff"}}