=== Postu === Contributors: postu Tags: audio, tts, text-to-speech, video Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 8.0 Stable tag: 1.3.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Automatically generate audio and vertical videos when you publish WordPress posts using your Postu API. == Description == Postu turns every new WordPress post into an audio player (TTS), can display an interactive transcript, and can trigger a vertical video render using the template saved in your Postu dashboard. Videos are rendered by the Postu video worker and published through your connected integrations (for example, Instagram). == Installation == 1. Upload the plugin folder to `/wp-content/plugins/` or install it from the WordPress Plugins screen. 2. Activate the plugin through the “Plugins” menu. 3. Go to Settings → Postu and set your API URL and API Key. Choose whether to generate audio and/or video. The video template comes from your Postu dashboard. == Frequently Asked Questions == = What does the plugin do? = When you publish a post, the plugin sends the title/date/author/content to the Postu API. It generates audio (default voice) and, if enabled, requests a vertical video render using your saved template and publishes it via Postu integrations. = What data is sent? = Title, date, author, and post content are sent to the Postu API for TTS and video rendering. = Does the plugin load remote assets? = No. All assets (icons, styles, scripts) are local. The only external requests are to the Postu API URL you configure and the images used in your posts or settings. == Changelog == = 1.3.4 = * Corrige fallback de URL de audio: quando o upload local/offloaded retorna URL privada (ex.: AccessDenied), o player mantem a URL remota do Postu para evitar audio quebrado no front. = 1.3.3 = * Uses the unified transcript player in WordPress when transcript is available, enabling listener language selection directly in the player flow. * Keeps legacy player only as fallback when no transcript is available. = 1.3.2 = * Removes the audio language selector from the WordPress settings page; default language now comes from your Postu account configuration. * Stops forcing `targetLang` from WordPress when generating audio (backend applies account defaults). * Keeps listener language switching as a temporary playback choice in the player flow. = 1.3.1 = * Adds audio playback analytics: the player injects API context and sends play/progress/complete beacons to the Postu API (API, embed, WordPress). * Stores the Postu audio id on generation/regeneration so beacons carry the correct identifiers. = 1.3.0 = * Adds an option to show the interactive transcript below the player (uses the `transcriptId` returned by the API). * Shortcode `[postu_transcript id="..."]` to embed the transcript manually on any page. * Adjusts the character limit sent to TTS and returns `transcriptId` in the webhook. = 1.2.5 = * Adds a Standard/Neural voice selector in settings and sends `voiceType` to the API. * Notes that Neural consumes 4x credits in the voice description. = 1.2.4 = * Plugin interface now ships in Portuguese (pt-BR) by default with a full English translation (en-US). * All translation files (.pot, pt_BR.po, en_US.po) included in `/languages`. = 1.2.3 = * Displays the credit cycle renewal date (`resetDate`) on the settings screen. = 1.2.2 = * Shows current credit usage (characters used/limit) on the settings screen based on your API Key and plan. = 1.2.1 = * Removed remote fallbacks for icons and the default image; everything uses local WordPress or plugin assets. * Removed an unused HTML that referenced Google Fonts/CDN. = 1.2.0 = * Single API URL + API Key for audio (media-worker) and video (video-worker) via Postu. * Template defined in the Postu dashboard; the plugin only triggers generation/publication. * Fixed default voice (Camila) for TTS. = 1.0.0 = * Initial release with audio generation for published posts.