Skip to content

Commit

Permalink
feature: added "thumbnail_240_url" and "thumbnail_720_url" to fields
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jan 26, 2016
1 parent ab6e243 commit 27477c6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-dailymotion-api-factory",
"description": "angularjs factory for dailymotion json rest api requests",
"version": "0.5.0",
"version": "0.5.1",
"main": "Gruntfile.js",
"authors": [
"Jonathan Hornung"
Expand Down
10 changes: 5 additions & 5 deletions dist/angular-dailymotion-api-factory.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
@name: angular-dailymotion-api-factory
@version: 0.5.0 (06-01-2016)
@version: 0.5.1 (26-01-2016)
@author: Jonathan Hornung <jonathan.hornung@gmail.com>
@url: https://github.com/JohnnyTheTank/angular-dailymotion-api-factory#readme
@license: MIT
Expand Down Expand Up @@ -100,7 +100,7 @@ angular.module("jtt_dailymotion", [])
switch (_type) {

case "videosFromUserById":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'channel', 'created_after', 'created_before', 'genre', 'nogenre', 'page', 'limit', 'search', 'tags'
Expand All @@ -110,7 +110,7 @@ angular.module("jtt_dailymotion", [])
break;

case "videosFromChannelById":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'channel', 'created_after', 'created_before', 'search', 'sort', 'tags', 'page', 'limit',
Expand All @@ -120,7 +120,7 @@ angular.module("jtt_dailymotion", [])
break;

case "videosFromPlaylistById":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'search', 'sort', 'tags', 'page', 'limit',
Expand All @@ -130,7 +130,7 @@ angular.module("jtt_dailymotion", [])
break;

case "videosByParams":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'channel', 'country', 'created_after', 'created_before', 'detected_language', 'exclude_ids', 'featured', 'genre', 'has_game', 'hd', 'ids', 'in_history', 'languages', 'list', 'live', 'live_offair', 'live_onair', 'live_upcoming', 'longer_than', 'no_live', 'no_premium', 'nogenre', 'owners', 'partner', 'poster', 'premium', 'private', 'search', 'shorter_than', 'sort', 'svod', 'tags', 'tvod', 'ugc', 'verified', 'page', 'limit'
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-dailymotion-api-factory.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-dailymotion-api-factory",
"version": "0.5.0",
"version": "0.5.1",
"description": "angularjs factory for dailymotion json rest api requests",
"main": "dist/angular-dailymotion-api-factory.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/angular-dailymotion-api-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ angular.module("jtt_dailymotion", [])
switch (_type) {

case "videosFromUserById":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'channel', 'created_after', 'created_before', 'genre', 'nogenre', 'page', 'limit', 'search', 'tags'
Expand All @@ -103,7 +103,7 @@ angular.module("jtt_dailymotion", [])
break;

case "videosFromChannelById":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'channel', 'created_after', 'created_before', 'search', 'sort', 'tags', 'page', 'limit',
Expand All @@ -113,7 +113,7 @@ angular.module("jtt_dailymotion", [])
break;

case "videosFromPlaylistById":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'search', 'sort', 'tags', 'page', 'limit',
Expand All @@ -123,7 +123,7 @@ angular.module("jtt_dailymotion", [])
break;

case "videosByParams":
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_url,title,updated_time,url,';
dailymotionSearchData.object.fields = 'bookmarks_total,comments_total,created_time,description,duration,embed_html,id,item_type,media_type,owner.id,owner.screenname,owner.url,thumbnail_240_url,thumbnail_720_url,thumbnail_url,title,updated_time,url,';

dailymotionSearchData = this.fillDataInObjectByList(dailymotionSearchData, _params, [
'fields', 'channel', 'country', 'created_after', 'created_before', 'detected_language', 'exclude_ids', 'featured', 'genre', 'has_game', 'hd', 'ids', 'in_history', 'languages', 'list', 'live', 'live_offair', 'live_onair', 'live_upcoming', 'longer_than', 'no_live', 'no_premium', 'nogenre', 'owners', 'partner', 'poster', 'premium', 'private', 'search', 'shorter_than', 'sort', 'svod', 'tags', 'tvod', 'ugc', 'verified', 'page', 'limit'
Expand Down

0 comments on commit 27477c6

Please sign in to comment.