All Projects → bueltge → Multisite Global Media

bueltge / Multisite Global Media

Licence: gpl-2.0
Share a media library across the WordPress Multisite network

Projects that are alternatives of or similar to Multisite Global Media

Androidcamera
🔥🔥🔥自定义Android相机(仿抖音 TikTok),其中功能包括视频人脸识别贴纸,美颜,分段录制,视频裁剪,视频帧处理,获取视频关键帧,视频旋转,添加滤镜,添加水印,合成Gif到视频,文字转视频,图片转视频,音视频合成,音频变声处理,SoundTouch,Fmod音频处理。 Android camera(imitation Tik Tok), which includes video editor,audio editor,video face recognition stickers, segment recording,video cropping, video frame processing, get the first video frame, key frame, v…
Stars: ✭ 2,112 (+1203.7%)
Mutual labels:  media
Themeforest Wp Theme Approval Checklist
A comprehensive list of rejection messages which you should avoid to get your WordPress theme approved quickly in Themeforest
Stars: ✭ 150 (-7.41%)
Mutual labels:  wordpress-plugin
Photos
📸 Your memories under your control
Stars: ✭ 157 (-3.09%)
Mutual labels:  media
Player
▶️ video player in Swift, simple way to play and stream media on iOS/tvOS
Stars: ✭ 1,849 (+1041.36%)
Mutual labels:  media
Custom Post Type Permalinks
Edit the permalink of custom post type !
Stars: ✭ 146 (-9.88%)
Mutual labels:  wordpress-plugin
Nextlevel
NextLevel was initally a weekend project that has now grown into a open community of camera platform enthusists. The software provides foundational components for managing media recording, camera interface customization, gestural interaction customization, and image streaming on iOS. The same capabilities can also be found in apps such as Snapchat, Instagram, and Vine.
Stars: ✭ 1,940 (+1097.53%)
Mutual labels:  media
Wp Toolbelt
A lightweight, multi-purpose, WordPress plugin with a focus on privacy and speed
Stars: ✭ 141 (-12.96%)
Mutual labels:  wordpress-plugin
Wp Graphql Gutenberg
Query gutenberg blocks with wp-graphql
Stars: ✭ 158 (-2.47%)
Mutual labels:  wordpress-plugin
Media Docker
all-in-one deployment and configuration for an all-in-one media server, running on docker.
Stars: ✭ 148 (-8.64%)
Mutual labels:  media
Isobmff
C++ Library for ISO/IEC 14496-12 - ISO Base Media File Format (QuickTime, MPEG-4, HEIF, etc)
Stars: ✭ 157 (-3.09%)
Mutual labels:  media
Live Composer Page Builder
Free page builder plugin for WordPress http://livecomposerplugin.com
Stars: ✭ 143 (-11.73%)
Mutual labels:  wordpress-plugin
Codestar Framework
A Simple and Lightweight WordPress Option Framework for Themes and Plugins
Stars: ✭ 147 (-9.26%)
Mutual labels:  wordpress-plugin
Wp Document Revisions
A document management and version control plugin that allows teams of any size to collaboratively edit files and manage their workflow.
Stars: ✭ 152 (-6.17%)
Mutual labels:  wordpress-plugin
Bootstrap Blocks Wordpress Plugin
Bootstrap Gutenberg Blocks for WordPress
Stars: ✭ 143 (-11.73%)
Mutual labels:  wordpress-plugin
Gitium
Keep all your WordPress code on git with a simple plugin and a repo
Stars: ✭ 159 (-1.85%)
Mutual labels:  wordpress-plugin
Gdpr
This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR.
Stars: ✭ 141 (-12.96%)
Mutual labels:  wordpress-plugin
Stackable
Page Builder Blocks for WordPress. An Amazing Block Library for the new WordPress Block Editor (Gutenberg).
Stars: ✭ 151 (-6.79%)
Mutual labels:  wordpress-plugin
Pbjvision
📸 iOS Media Capture – features touch-to-record video, slow motion, and photography
Stars: ✭ 1,940 (+1097.53%)
Mutual labels:  media
Pop
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder
Stars: ✭ 160 (-1.23%)
Mutual labels:  wordpress-plugin
Docker Kodi
Dockerized Kodi with audio and video
Stars: ✭ 157 (-3.09%)
Mutual labels:  media

Multisite Global Media

Build Status Php Min Version MIT License

Multisite Global Media is a WordPress plugin that shares media across the Multisite network.

Description

This small plugin adds a new tab to the media library, which allows you to share media from one site to all the other sites of the network. By default, the Site ID is set to '1'. You can set/change this Site ID via the filter hook global_media.site_id which is run in a custom plugin like so

add_filter( 'global_media.site_id', function() {
    return 1234;
} );

To get Global Media to work, please follow these steps:

  1. Decide which blog/site will host the shared media for the network.
  2. Add media to the media library for the chosen blog/site.
  3. Find the Site ID of your chosen site by going to your Network WP Admin. In the left-hand menu, choose "All Sites", and then click on "edit" under the site you need. In the address bar, you will see site-info.php?id=4 where the last number is the ID.

Finding the site ID

  1. If the Site ID of your chosen site is '1', then you don't need to make any changes. If it's a different ID number, then please read the section below about modifying the Site ID via hook and a custom plugin.

Note: A useful enhancement in the Multisite context is the plugin Multisite Enhancement. It also helps to identify the site and get his site ID.

Set your Site ID for the Global Mediathek

If you need to change the default Site ID '1' to another value, then you can do so by creating a small custom plugin.

  1. In /wp-content/mu-plugins/ create a new folder mgm-set-my-site-id.
  2. In /wp-content/mu-plugins/mgm-set-my-site-id/ create a new file mgm-set-my-site-id.php.
  3. Add the following content to 'my-plugin.php'. Change the return value to your chosen Site ID.
<?php
/**
* Plugin Name: Multisite Global Media Site ID
* Plugin URI:  https://github.com/bueltge/multisite-global-media/
* Description: Set my Multisite Global Media site in the network.
* Version:     1.0.0
* Network:     true
*/

add_filter( 'global_media.site_id', function() {
   return 1234;
} );

  1. Activation is not necessary if you store this plugin inside the Must Use Plugin directory /wp-content/mu-plugins/.

Installation

Manual

  • Download the plugin as zip (available inside the release), use a clone of the repo or use Composer, see below.
  • Install the plugin in your environment, recommend as Must Use plugin.
  • Optional: See here for a quick hint for a helping solution Must Use Loader. This plugin is not necessary, but helpful if you use more as one plugin as Must Use plugin and use it in sub-directories.
  • Set the Site ID for the Global Media Library, see above the description to change the ID with a hook in a custom plugin.
  • Active the plugin for the whole network if you don't store it as Must Use Plugin.

Composer

The plugin is also available as Composer package.

composer require bueltge/multisite-global-media

Screenshots

Media Modal

Usage in Featured Image

Contributing

Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Other Notes

Crafted by Inpsyde · Engineering the web since 2006.

Bugs, technical hints or contribute

Please give me feedback, contribute and file technical bugs on this GitHub Repo, use Issues.

License

Good news, this plugin is free for everyone! Since it's released under the GPLv2+.

Contact & Feedback

The plugin is designed and developed by team members from the Inpsyde crew. Special thanks and praise to Dominik Schilling and Guido Scialfa for his help and engagement.

Please let me know if you like the plugin or you hate it or whatever.

Please fork it and improve the plugin. However, see the Contributing note above. Add an issue for ideas and bugs. Also, we say thank you for improvements in the documentation and help in the support.

Disclaimer

We don't speak the English language natively, and maybe it might be gruesome here and there. So please be patient with me and let me know of typos or grammatical errors. Thank you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].