From 6e6734890ad1be5f6f797108dbaae7ae05f3d736 Mon Sep 17 00:00:00 2001 From: pgk Date: Thu, 7 Apr 2022 13:16:38 +0000 Subject: [PATCH] VideoPress: Introduce private videos (#22948) Adds settings for controlling VideoPress video privacy. The settings work at two levels of granularity * Site level: This is set from Jetpack Settings. When it's on, all video views are restricted to site members by default. * Video Level: An individual video's privacy setting can be changed from the block. The possible values are: * Public (this specific video can be viewed by anyone). * Private (this specific video can be viewed by site members). * Site default (default for new videos, the video privacy setting follows the site-level setting). Co-authored-by: John Caruso Co-authored-by: Dan Roundhill Co-authored-by: thedebian Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/2109066003 --- CHANGELOG.md | 3 +++ src/class-defaults.php | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 852df01..5980e1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This is an alpha version! The changes listed here are not final. +### Added +- Adding new site option to be synced. + ## [1.30.6] - 2022-04-06 ### Changed - Updated package dependencies. diff --git a/src/class-defaults.php b/src/class-defaults.php index aac662d..41ccb8b 100644 --- a/src/class-defaults.php +++ b/src/class-defaults.php @@ -172,6 +172,7 @@ class Defaults { 'wpcom_is_fse_activated', 'wpcom_publish_comments_with_markdown', 'wpcom_publish_posts_with_markdown', + 'videopress_private_enabled_for_site', ); /**