Metadata-Version: 2.4
Name: django-skynetaccessibility-videosubtitle
Version: 1.0.0
Summary: Skynet Accessibility Video Subtitle plugin for Django - AI-generated video subtitle widget, analytics dashboard and plan management.
Author: Skynet Technologies USA LLC
License: Proprietary
Project-URL: Homepage, https://www.skynettechnologies.com
Keywords: django,accessibility,video-subtitle,aioa,skynet
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Classifier: Framework :: Django :: 4.2
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Web Environment
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: Django>=3.2
Requires-Dist: requests>=2.25.0

# SkynetAccessibility Video Subtitle — Django

## Publish Captioned Video Content with AI-Powered Subtitles

[SkynetAccessibility Video Subtitle](https://www.skynettechnologies.com/video-accessibility) is an AI-powered video accessibility plugin that automatically generates synchronized subtitles for website videos using advanced speech recognition. This package is the **Django** integration — an installable app that adds the registration flow, analytics dashboard, and front-end widget injection to any Django project.

Improve the accessibility of website videos by automatically generating synchronized subtitles using AI-powered speech recognition, without manually creating captions. Supports accessibility initiatives aligned with WCAG 2.1, 2.2, ADA, Section 508, and EAA EN 301 549, where applicable.

### Features

- Quick subtitle processing
- Compatible with YouTube, Vimeo, and self-hosted video platforms
- Built-in analytics dashboard (usage, remaining quota, per-language breakdown, video library) at `/video-subtitle/`
- Automatic front-end widget script injection — no manual `<script>` tag editing required
- One-time domain registration handled for you, visible in the browser's Network tab
- Simple installation and configuration
- Support for existing and newly published videos
- Supporting over 50+ multi-languages
- Unlimited video subtitle processing throughout the selected plan

### Ideal For

Blog videos, news videos, tutorials, landing page videos, announcements, interviews, webinars, and embedded media on any Django-powered site.

### Pricing and Plans

| **Total Video Playback Time** | **Price / Month** |
|--------------------------------|--------------------|
| Up to 10 Minutes               | $25.00             |
| Up to 25 Minutes               | $39.00             |
| Up to 100 Minutes              | $99.00             |
| Up to 200 Minutes              | $139.00            |

**Note:** Unlimited number of video subtitle processing is available within the selected plan's total playback time. Manage or upgrade your plan any time from the analytics dashboard.

## Installation

```sh
pip install django-skynetaccessibility-videosubtitle
```

## Setup

### 1. Add the app and middleware

In `settings.py`:

```python
INSTALLED_APPS = [
    ...,
    "skynet_video_subtitle",
]

MIDDLEWARE = [
    ...,
    "skynet_video_subtitle.middleware.VideoSubtitleWidgetInjectionMiddleware",
]
```

The middleware automatically inserts the subtitle widget script into every front-end HTML page — no manual template edits needed.

### 2. Mount the URLs

In your project's root `urls.py`:

```python
from django.urls import include, path

urlpatterns = [
    ...,
    path("video-subtitle/", include("skynet_video_subtitle.urls")),
]
```

### 3. Run migrations and collect static files

```sh
python manage.py migrate skynet_video_subtitle
python manage.py collectstatic
```

### 4. Run migrations and collect static files

```sh
python manage.py runserver
```

### Add the Script (optional / manual setup)

If you'd rather not use the middleware — for example, on a project that mixes Django with a separately-served front end — you can add the widget script manually instead. Place it in the **header** or **footer** of your site's HTML:

```html
<script>
  setTimeout(() => {
    let aioa_script_tag = document.createElement("script");
    aioa_script_tag.src = "https://www.skynettechnologies.com/accessibility/js/video-subtitle/video-subtitle-widget.js";
    aioa_script_tag.id = "aioa-adavs";
    aioa_script_tag.defer = "true";
    document.getElementsByTagName("body")[0].appendChild(aioa_script_tag);
  }, 3000);
</script>
```
If you do this, remove `VideoSubtitleWidgetInjectionMiddleware` from `MIDDLEWARE` to avoid the script being inserted twice.

### CORS Policy Configuration

To avoid CORS policy issues, ensure the following URLs are allowed in your website. These URLs should be added to your CORS configuration or trusted domains list.

| **Domain**                         | **Description**                              | **Usage**                        |
|------------------------------------|----------------------------------------------|----------------------------------|
| `https://*.skynettechnologies.com` | Skynet Technologies (Global Domain)          | API access and resources         |
| `https://*.skynettechnologies.us`  | Skynet Technologies (US Domain)              | API access and resources         |

#### Instructions

1. Update your server's CORS configuration to include these URLs.
2. Ensure wildcard subdomains (*) are supported where necessary.
3. Verify the application functionality by testing requests to these domains.
4. If issues persist, consult the documentation for CORS configuration guidance.

### Screenshots

![SkynetAccessibility_Scanner_Image_1](https://www.skynettechnologies.com/sites/default/files/SkynetAccessibilityVideoSubtitle/SkynetAccessibility_Video_Subtitle_Image_1.jpg)  
![SkynetAccessibility_Scanner_Image_2](https://www.skynettechnologies.com/sites/default/files/SkynetAccessibilityVideoSubtitle/SkynetAccessibility_Video_Subtitle_Image_2.jpg)
![SkynetAccessibility_Scanner_Image_3](https://www.skynettechnologies.com/sites/default/files/SkynetAccessibilityVideoSubtitle/SkynetAccessibility_Video_Subtitle_Image_3.jpg)

### Support Options

**Submit a Support Request**
Please visit our [support page](https://www.skynettechnologies.com/report-accessibility-problem) and fill out the form. Our team will get back to you as soon as possible.

**Send Us an Email**
Alternatively, you can send an email to our support team: [hello@skynettechnologies.com](mailto:hello@skynettechnologies.com)

### Accessibility Partnership Opportunities

#### **[Accessibility Agency Partnership](https://www.skynettechnologies.com/agency-partners)**

Partner with us as an agency to provide comprehensive SANITY ADA, EAA, WCAG accessibility solutions to clients. Get access to exclusive resources, training, and support to implement and manage accessibility features effectively.

#### **[Accessibility Affiliate Partnership](https://www.skynettechnologies.com/affiliate-partner)**

Sign up for our affiliate program and earn commissions by promoting accessibility SANITY plugin. Share our widget with your network and help businesses improve their website accessibility while generating revenue.

For more details, explore **[Accessibility Partnership Opportunities Page](https://www.skynettechnologies.com/partner-program)**.

#### Credits

This addon is developed and maintained by [website accessibility company](https://www.skynettechnologies.com/) - Skynet Technologies USA LLC

#### Current Maintainers

- [Skynet Technologies USA LLC](https://github.com/skynettechnologies)
