This repository contains configuration files, scripts, and resources for the TV Live Android application. It provides essential data for the app's WebView player implementation, theming, and localization.
webview_player_impl.js: A JavaScript implementation file injected into the app's WebView.- Handles detection of
<video>elements, including those within Shadow DOM. - Removes unwanted UI elements (ads, watermarks, control bars) from various video players (e.g.,
xgplayer,prism-player,dplayer). - Manages playback states and initialization.
- Handles detection of
webview_loading_blacklist.json: A configuration file defining domains and specific script paths to be blocked within the WebView.- Used to prevent loading of advertisement scripts, tracking pixels, and unnecessary UI components to improve performance and user experience.
Contains app_themes.json files defining the visual appearance of the application.
- Themes: JSON structures defining theme names, descriptions, and base64-encoded background images.
- Localization:
raw/: Default themes (likely Chinese).raw-en/: English localized themes.
Contains Android resource string files (strings.xml) for UI text translations.
values/: Default string resources.values-en/: English translation.values-ar/: Arabic translation.