Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linus12 patch 1 #4

Merged
merged 3 commits into from
Jan 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/tumblr/jumblr/types/Blog.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ public void setName(String name) {
this.name = name;
}

}
}
9 changes: 8 additions & 1 deletion src/main/java/com/tumblr/jumblr/types/VideoPost.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class VideoPost extends Post {

private List<Video> player;
private String caption;
private String embed, permalink_url;
private String embed, permalink_url, video_url;
private File data;
private String thumbnail_url;
private int thumbnail_width;
Expand All @@ -25,6 +25,13 @@ public String getPermalinkUrl() {
return permalink_url;
}

/**
* Get the direct URL for this video
*/
public String getVideoUrl() {
return video_url;
}

/**
* Get the thumbnail URL for the video
* @return possibly null URL
Expand Down