wordpress-mobile / wordpress-mobile/WordPress-Android

Video thumbnails missing in posts list and preview for video shortcodes such as `[wpvideo]`

Open
#5,370 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Media Posts + Pages
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

To see a video thumbnail in the Posts list or post preview

Actual behavior

The shortcode is shown instead

Steps to reproduce the behavior
  1. Create a new post with a wpvideo shortcode and publish it
  2. Look at the card on the Posts page

It would be nice to see a thumbnail of the video, but instead all I see is the shortcode like [wpvideo] (note that it's not even the full shortcode, it's missing the video code itself).

image

Tested on Nexus 6P, Android 7.1.2, wp alpha-38

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how post content is rendered for the Posts page card and post preview, then follow the handling of [wpvideo] shortcodes. Reproduce with a published post containing a wpvideo shortcode; done means both views show the video's thumbnail instead of the shortcode text.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
content, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.