Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 142888

Videos within Text Posts

$
0
0

Replies: 0

Hey Meitar,

First of all, love this plugin. Thank you for making it!

I wanted to reach out and request support for something I’ve been unable to fix on my own. It seems that Tumblr’s mobile app and desktop blog post browser are ignoring embedded videos within text posts that have been crossposted via crosspostr. However, on our actual blog page, they are displaying as expected. Our concern has to do primarily with content being viewed on mobile that is being omitted from our posts.

To go into detail, the issue appears to be in regard to the way tumblr parses external video links when added directly on their site. As it stands, bare video links fed from wordpress via crosspostr are parsed and given the <iframe> tags, which allows them to appear properly on our blog page. However this is apparently not sufficient for the tumblr mobile app and desktop blog post browser and they aren’t being displayed. After delving into the issue, I learned that when video links are added and parsed on tumblr directly, they are also given a <figure> tag that surrounds the <iframe> tags. Not only that, but the opening figure tag contains seemingly necessary information about the video such as the class, orig-width, orig-height, data-src, and provider (vimeo, youtube, etc).

I played around with these tags in the HTML editor on tumblr itself and managed to get the videos to display on both our blog and mobile, however I was unable to figure out how to get it work by modifying your code. I tried a number of ways but since the post is being sent as a Text post, there is seemingly nothing in the code that checks for video links and parses them accordingly. It appears to be leaving it up to Tumblr and they are conveniently forgetting to parse the video links with figure tags for their own platform.

If you can take a look into this issue so that we can continue to use crosspostr seamlessly without having to edit every tumblr post to properly parse our video links, that would be super rad.

Example of the issue:

Blog page: http://mintskate.tumblr.com/post/157432377156/clips-clean-getaway
App view (must be logged into tumblr): https://www.tumblr.com/blog/mintskate (scroll down to find the clean getaway post)

Cheers,
Robatato

mintskate.com


Viewing all articles
Browse latest Browse all 142888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>