# Explicit Media Block #

[![Lint JS](https://github.com/BhargavBhandari90/explicit-media-block/actions/workflows/lint-js.yml/badge.svg)](https://github.com/BhargavBhandari90/explicit-media-block/actions/workflows/lint-js.yml)
[![WPCS](https://github.com/BhargavBhandari90/explicit-media-block/actions/workflows/wpcs.yml/badge.svg)](https://github.com/BhargavBhandari90/explicit-media-block/actions/workflows/wpcs.yml)

**Contributors:** [bhargavbhandari90](https://profiles.wordpress.org/bhargavbhandari90/)  
**Donate link:** https://www.paypal.me/BnB90/20  
**Tags:** block, media, likes, share, blocks  
**Requires at least:** 6.6  
**Tested up to:** 6.8  
**Stable tag:** 1.0.2  
**Requires PHP:** 7.4  
**License:** GPLv2 or later  
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html  

Add likeable, shareable image and video to your site with this WordPress block.

## Description ##

A WordPress block for uploading images and videos with public likes and shareable links, turning your site into an interactive content hub.

## Installation ##

1. Upload the plugin files to the `/wp-content/plugins/explicit-media-block` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Add/Edit post and search for "Explicit Media" block

## Demo
Coming Soon

## Prerequisites
- [Node/NPM](https://nodejs.org/en/download/)
- [NVM](https://github.com/nvm-sh/nvm)

## Development Setup
1. Go to plugin's root
2. Run `npm install`
5. To watch for changes, run `npm start`

## Development

To create a publish ready plugin, run:

	npm run build

To format code, run:

	npm run format


## Found a Bug? ##

If you find a bug, report here 
[https://github.com/BhargavBhandari90/explicit-media-block/issues](https://github.com/BhargavBhandari90/explicit-media-block/issues)

## Changelog ##

### 1.0.2 ###
* Prevent liking by non-loggedin users.

### 1.0.1 ###
* Picture in Picture button on hover of video.

### 1.0.0 ###
* Initial Release.
* Like & Share Image and Video.
