tumblr

tumblr audio/video players + Masonry with infinite scroll

被刻印的时光 ゝ 提交于 2019-11-27 08:59:47
Here's a test page: http://masonry-test.tumblr.com/ I'm using jquery Masonry with infinite scroll on tumblr. All is fine except with audio players. They won't load on the second page and display this message instead [Flash 9 is required to listen to audio.]. Did a little research and found a solution. One here ( this one too ) and here's the js from the Mesh theme that does that successfully (line 35). Problem is I don't know where and how to implement it in my code. Everything I tried either wasn't working or it left a small gap around the masonry blocks. My code: $(document).ready(function (

Using Tumblr Like Button with Infinite Scroll

不打扰是莪最后的温柔 提交于 2019-11-27 08:59:26
I'm trying to use the new Tumblr like buttons within Infinite Scroll (allowing your theme a like button on individual Tumblr posts from the homepage) they work for the first 15 posts of the first 'page' but then as soon as it loads another page the like button stops working. These are the instructions given from Tumblr on the Docs page: Function: Tumblr.LikeButton.get_status_by_page(n) Description: Call this function after requesting a new page of Posts. Takes the page number that was just loaded as an integer. Function: Tumblr.LikeButton.get_status_by_post_ids([n,n,n]) Description: Request

Video Posts with Auto Thumbnail(Like in Facebook) in Tumblr.com

做~自己de王妃 提交于 2019-11-27 08:25:42
问题 I'd like to find out how Tumblr retrieves video thumbnails . Normal video posts (not using API) when viewed from the dashboard or /tagged/ filters, some sites's video shows thumbnails, some doesn't show up. Works for http://www.youtube.com and http://www.vimeo.com. However, http://www.ted.com and http://www.slideshare.net thumbnails doesn't show up. I was wondering if any of the Tumblr devs can enlighten me on the process how and where they get the thumbnail data from. Is there a general

Sending a POST request from Cocoa to Tumblr

末鹿安然 提交于 2019-11-27 07:09:05
This code snippet isn't working, I'm getting an "Authentication Failed." response from the server. Any ideas? NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString:@"http://www.tumblr.com/api/write"]]; [request setHTTPMethod:@"POST"]; [request addValue:_tumblrLogin forHTTPHeaderField:@"email"]; [request addValue:_tumblrPassword forHTTPHeaderField:@"password"]; [request addValue:@"regular" forHTTPHeaderField:@"type"]; [request addValue:@"theTitle" forHTTPHeaderField:@"title"]; [request addValue:@"theBody" forHTTPHeaderField:@"body"]; NSLog(@"Tumblr Login:

Customise Tumblr's *new* Like Button iFrame {LikeButton}

寵の児 提交于 2019-11-27 01:25:44
问题 The new code from tumblr {LikeButton} comes with a very few options: color and size. It injects an iFrame, which handles the "Like" functionality and provides SVG graphics. However because of the iframe and cross site scripting policies, it is no longer possible to alter it with css nor to edit its contents. How can I modify, or insert new code, to use my own Like button sprites or svgs? 回答1: Styling a Tumblr Like Button Sadly, as the OP has stated the Tumblr like buttons have minimal visual

tumblr audio/video players + Masonry with infinite scroll

我与影子孤独终老i 提交于 2019-11-26 14:25:44
问题 Here's a test page: http://masonry-test.tumblr.com/ I'm using jquery Masonry with infinite scroll on tumblr. All is fine except with audio players. They won't load on the second page and display this message instead [Flash 9 is required to listen to audio.]. Did a little research and found a solution. One here (this one too) and here's the js from the Mesh theme that does that successfully (line 35). Problem is I don't know where and how to implement it in my code. Everything I tried either

Using Tumblr Like Button with Infinite Scroll

ぐ巨炮叔叔 提交于 2019-11-26 14:25:27
问题 I'm trying to use the new Tumblr like buttons within Infinite Scroll (allowing your theme a like button on individual Tumblr posts from the homepage) they work for the first 15 posts of the first 'page' but then as soon as it loads another page the like button stops working. These are the instructions given from Tumblr on the Docs page: Function: Tumblr.LikeButton.get_status_by_page(n) Description: Call this function after requesting a new page of Posts. Takes the page number that was just

Sending a POST request from Cocoa to Tumblr

心已入冬 提交于 2019-11-26 13:04:14
问题 This code snippet isn\'t working, I\'m getting an \"Authentication Failed.\" response from the server. Any ideas? NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString:@\"http://www.tumblr.com/api/write\"]]; [request setHTTPMethod:@\"POST\"]; [request addValue:_tumblrLogin forHTTPHeaderField:@\"email\"]; [request addValue:_tumblrPassword forHTTPHeaderField:@\"password\"]; [request addValue:@\"regular\" forHTTPHeaderField:@\"type\"]; [request addValue:@\