=== SMD Media Download Redirect Box ===
Contributors: socialmediadownloader
Tags: video downloader, youtube, tiktok, instagram, shortcode
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.0
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A paste-a-link box that redirects visitors to social-media-downloader.com to download videos from YouTube, TikTok, Instagram, Facebook and X.

== Description ==

This plugin adds a simple redirect box to any post, page or widget area. Visitors paste a video link, pick Video or Audio, and are redirected to the external service social-media-downloader.com, where the download starts automatically — the pasted link is carried over, so they don't have to paste it twice.

**This plugin does not download anything itself.** No downloads happen on your WordPress server. It is a pure redirect: zero JavaScript, no database tables, no settings, nothing stored. All processing happens on social-media-downloader.com, which is operated by the plugin author.

= Usage =

Add the shortcode anywhere (post, page, or a Shortcode block):

`[smdrb_download_box]`

Options:

* `[smdrb_download_box lang="de"]` — open the German site (also: es, fr, pt; empty = English).
* `[smdrb_download_box button="Get video" placeholder="Drop your link here"]` — custom texts.
* `[smdrb_download_box audio="no"]` — hide the Video/Audio picker.
* `[smdrb_download_box target="_self"]` — open in the same tab instead of a new one.
* `[smdrb_download_box type="button" button="Open Downloader"]` — just a button linking to the site, no input field.

Developers can change the destination with the `smdrb_base_url` filter.

= External service =

This plugin sends visitors (and the link they paste) to https://social-media-downloader.com, a free web-based video downloader operated by the plugin author. No data is sent anywhere until the visitor themselves clicks the Download button.

== Installation ==

1. Upload the plugin zip via Plugins → Add New → Upload Plugin, or copy the folder to `/wp-content/plugins/`.
2. Activate it.
3. Put `[smdrb_download_box]` in any post or page.

== Frequently Asked Questions ==

= Does this download videos on my server? =

No. It only redirects visitors to social-media-downloader.com with their link pre-filled. All processing happens there.

== Changelog ==

= 1.0.0 =
* Initial release: [smdrb_download_box] shortcode with form and button modes, language, text and target options.
