Check Your Presto Player Videos for Problems with AI
Hidden, missing, shared and unused Presto Player videos found in one read-only report.
Prerequisites
A site connected to WPVibe running a recent Presto Player (tested on 4.5.6, free) on WordPress 6.9 or newer, with an administrator account, and Enable AI access turned on in Presto Player, Settings, AI Abilities and MCP.
My WordPress site uses Presto Player. Check my videos for problems. Don't change anything. 1. Run discover_abilities with category presto-player. If presto-player/list-videos is not there, tell me to install or update the free Presto Player plugin (its AI abilities need WordPress 6.9 or newer) and to turn on Enable AI access in Presto Player, Settings, AI Abilities and MCP, and stop. 2. Run presto-player/list-videos with per_page 50, and again with page 2 and up while total_pages is larger. For each video note video_id, title, type, src, post_id, shortcode and shares_post_with. 3. Run rest_api GET /wp/v2/presto-videos with include set to the post_ids that are not 0 (and, after step 4, every POST_ID found on a page that is not among them), in groups of 100 IDs, per_page 100, status publish,draft,private,pending,future,trash, context edit and _fields id,status,title. 4. Find every page and post that shows a video: run rest_api GET /wp/v2/pages and GET /wp/v2/posts, each with search presto, status publish,draft,private,pending,future, context edit, per_page 100 and _fields id,title,status,link,content.raw (if 100 come back, ask for page 2; if an answer is cut short, ask again with per_page 20 and page through, or with max_length 100000). A post shows the video when its content.raw has a Presto block presto-player/reusable-display with "id":POST_ID, or a presto_player shortcode with id set to POST_ID. This does not see videos on other content types, such as courses or products, or placed with a page builder widget, a theme template or a sidebar widget. In each, note the POST_ID of every reusable-display block and presto_player shortcode, and the VIDEO_ID (the "id" attribute) of every Presto player block placed directly (presto-player/youtube, vimeo, self-hosted, audio or bunny, outside a reusable-display block): those videos play from that page and are not synced to the Media Hub. A page that holds only one reusable-display block with the video's title is the page Presto made for that video. 5. Flag: a video whose post is not published while it is on a published page or post (visitors see nothing there, with no message); a block or shortcode on a published page or post whose POST_ID is not among the posts from step 3, or is in the trash (that spot shows nothing; or the post never existed); a video with post_id 0 or an empty shortcode: if a page from step 4 has a Presto player block with its VIDEO_ID, report it as placed directly on that page (not synced to the Media Hub), not as a problem; otherwise report it as shown nowhere this check can see; videos whose shares_post_with is not empty (the shortcode plays only one of them); two videos with the same src (duplicates; a video switched from a file to YouTube or Vimeo still shows the file's src, so check its type first); and videos not on any page or post (a published page Presto made for the video counts as a use; a draft one does not), which may be unused or shown somewhere this check can't see. 6. Report each problem with the video's title, type and where it is shown, then the single most important thing to fix first. Offer the fixes as next steps, each only after my yes: publishing a video post that is on a published page (rest_api_write POST /wp/v2/presto-videos/POST_ID with status publish; its own address stays hidden from visitors unless its instant video page is on), and for the rest, what to change in the Media Hub or on the page.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Check Your Presto Player Videos for Problems with AI” recipe from the WPVibe cookbook on my connected site.
Video problems are quiet. A video saved as a draft or deleted from the Media Hub leaves an empty spot on a live page with no message, two library entries can point at the same player, and videos nobody uses pile up. You find out when someone asks where the video went.
The AI lists every video in Presto Player’s Media Hub, checks the status of each one’s post, and finds every page and post that shows one. It reports videos that are not published but sit on a published page, pages that show a video that no longer exists, videos with no Media Hub post, entries that share a post, and videos not shown anywhere. It changes nothing.
The check finds videos placed with Presto’s block or shortcode on pages and posts. A video on a course, a product or other content, or placed with a page builder widget, a theme template or a sidebar widget, isn’t seen, and a video placed directly on a page without the Media Hub is listed with that page only, so a video listed as not shown anywhere may still be in use. To swap a video everywhere at once, use this recipe.
Outcome
A report of what is wrong with your videos and where, with the first thing to fix, and nothing changed.