19 lines
765 B
Markdown
19 lines
765 B
Markdown
**JW Player Branding Migration**
|
|
|
|
- Purpose: replace legacy ViewShark branding inside the JW Player serialized config stored in `db_fileplayers`.
|
|
- What it changes:
|
|
- `jw_logo_file` → empty (no external logo by default)
|
|
- `jw_logo_link` → your `site_url` (if set), otherwise empty
|
|
- `jw_rc_text` → `Powered by EasyStream` (uses your `site_name` if present)
|
|
- `jw_rc_link` → your `site_url` (if set), otherwise empty
|
|
|
|
Run after your database is initialized (docker-compose up created the schema):
|
|
|
|
- `php f_scripts/migrations/update_jw_branding.php`
|
|
|
|
Notes
|
|
- The script safely unserializes the PHP array, updates keys, and reserializes.
|
|
- It only touches `db_name` in (`jw_local`, `jw_embed`).
|
|
- If no change is necessary, it leaves rows untouched.
|
|
|