Slide icon indicating copy to clipboard operation
Slide copied to clipboard

Video link with query string in URI won't play

Open youri-- opened this issue 3 years ago • 2 comments

At least, I suspect it's the query string.

Slide version: 6.7.1 Android version: 11 (OxygenOS 11.1.1.1 on OnePlus 6 A6003)

Link to post: https://reddit.com/r/oddlysatisfying/comments/pztyiu/anodizing_screws/ Link to video: https://i.imgur.com/WB2YLBo.gifv?new

Tapping the video yields a black loading screen with "4.2 KB" in the bottom-left corner. ImgurViewer ~~loads the link just fine.~~ seems to have the same problem. Without ?new the link plays fine in the latter.

youri-- avatar Oct 02 '21 14:10 youri--

Not sure what's going on on reddit's side, but this issue has been becoming more and more prevalent over the last few months. Haven't noticed that it's related to query strings until seeing this post today, but I'll keep an eye on that going forward. One video's URI had ?new at the end, and if you try to play the video in Slide and then open the menu, it offers to "Save GIFV?NEW To". Probably just need to implement a filter to truncate the query string from the end of a video URI.

elektrikfisch avatar Feb 03 '22 12:02 elektrikfisch

I've since actually learned where the query strings come from.

Many subreddits have pretty strict rules when it comes to posting, so it's easy to accidentally break a rule, say with regards to the post title, which you can't edit to fix and automod deletes (or hides?) the post. If you then try to post it again with everything fixed and following the rules, you cannot in subreddits that don't allow reposts, as the link you're posting is determined to have already been posted.

Consequently, some subs will have in the rules (or mods will tell you when you ask) to just post with a query string appended to the URL to circumvent the repost block, like for example ?new or ?repost, as it then won't match your previous post attempt.

youri-- avatar Feb 03 '22 14:02 youri--