765 B
765 B
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→ yoursite_url(if set), otherwise emptyjw_rc_text→Powered by EasyStream(uses yoursite_nameif present)jw_rc_link→ yoursite_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_namein (jw_local,jw_embed). - If no change is necessary, it leaves rows untouched.