VideoURL sometimes not returned
quiks
Registered Users Posts: 19 Big grins
Hi,
I'm using API 1.3 (same issue with 1.2.2) and I'm having an issue with the method "smugmug.images.get".
It seems that sometimes, for a video file (which plays fine in the browser), there is NO VIDEO URL returned (e.g. Video320URL, Video640URL, ...).
I don't really see why some albums returns it and some don't.
Here is an example of an URL of an album that DO NOT return Video URLS despite having some video in it: http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#!i=1907174033&k=pV3H684
the file is clearly a VIDEO, but no video URL or even video duration is returned.
I don't see any kind of gallery setting that I could have messed up with...????
Here is the JSON object I get:
{"id":1905437695,
"Key":"K9jSWfT",
"Caption":"",
"FileName":"M4H01178.mov",
"Format":"MP4",
"Height":720,
"Keywords":"",
"LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/L/M4H01178-L.jpg",
"LastUpdated":"2012-06-14 07:12:58",
"LightboxURL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905437695_K9jSWfT-A-LB",
"MediumURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/M/M4H01178-M.jpg",
"OriginalURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/O/M4H01178.jpg",
"Position":681,
"Serial":0,
"Size":289730,
"SmallURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/S/M4H01178-S.jpg",
"ThumbURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/Th/M4H01178-Th.jpg",
"TinyURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/Ti/M4H01178-Ti.jpg",
"Type":"Album",
"URL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905437695_K9jSWfT",
"Width":1280,
"X2LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/X2/M4H01178-X2.jpg",
"X3LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/X3/M4H01178-X3.jpg",
"XLargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/XL/M4H01178-XL.jpg"}.
Thanks a lot for your help!
Cheers,
Greg.
I'm using API 1.3 (same issue with 1.2.2) and I'm having an issue with the method "smugmug.images.get".
It seems that sometimes, for a video file (which plays fine in the browser), there is NO VIDEO URL returned (e.g. Video320URL, Video640URL, ...).
I don't really see why some albums returns it and some don't.
Here is an example of an URL of an album that DO NOT return Video URLS despite having some video in it: http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#!i=1907174033&k=pV3H684
the file is clearly a VIDEO, but no video URL or even video duration is returned.
I don't see any kind of gallery setting that I could have messed up with...????
Here is the JSON object I get:
{"id":1905437695,
"Key":"K9jSWfT",
"Caption":"",
"FileName":"M4H01178.mov",
"Format":"MP4",
"Height":720,
"Keywords":"",
"LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/L/M4H01178-L.jpg",
"LastUpdated":"2012-06-14 07:12:58",
"LightboxURL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905437695_K9jSWfT-A-LB",
"MediumURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/M/M4H01178-M.jpg",
"OriginalURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/O/M4H01178.jpg",
"Position":681,
"Serial":0,
"Size":289730,
"SmallURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/S/M4H01178-S.jpg",
"ThumbURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/Th/M4H01178-Th.jpg",
"TinyURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/Ti/M4H01178-Ti.jpg",
"Type":"Album",
"URL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905437695_K9jSWfT",
"Width":1280,
"X2LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/X2/M4H01178-X2.jpg",
"X3LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/X3/M4H01178-X3.jpg",
"XLargeURL":"http://smc123.smugmug.com/Travel/Italy/i-K9jSWfT/0/XL/M4H01178-XL.jpg"}.
Thanks a lot for your help!
Cheers,
Greg.
0
Comments
What specific request do you use that gives you the response you posted?
It may also be helpful if you post the details for video that it works with, like what specific request you place and what response you get.
SmugMug Support Hero
I'm using the request:
http://api.smugmug.com/services/api/json/1.3.0/?method=smugmug.images.get&APIKey=______________&Heavy=1&NickName=smc123&AlbumID=ALBUM_ID&AlbumKey=ALBUM_KEY
I'm getting this:
{"stat":"ok","method":"smugmug.images.get","Album":{"id":23433499,"Key":"q6C626","ImageCount":604,"Images":[
{"id":1905384915,"Key":"rgzfwkS","Caption":"","FileName":"DSC01179.jpg","Format":"JPG","Height":681,"Keywords":"","LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/L/DSC01179-L.jpg","LastUpdated":"2012-06-14 06:28:25","LightboxURL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905384915_rgzfwkS-A-LB","MediumURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/M/DSC01179-M.jpg","OriginalURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/O/DSC01179.jpg","Position":304,"Serial":0,"Size":142417,"SmallURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/S/DSC01179-S.jpg","ThumbURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/Th/DSC01179-Th.jpg","TinyURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/Ti/DSC01179-Ti.jpg","Type":"Album","URL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905384915_rgzfwkS","Width":1024,"X2LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/X2/DSC01179-X2.jpg","X3LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/X3/DSC01179-X3.jpg","XLargeURL":"http://smc123.smugmug.com/Travel/Italy/i-rgzfwkS/0/XL/DSC01179-XL.jpg"}
.....
{"id":1905423544,"Key":"pr2mHT3","Caption":"","FileName":"IMG_3721.mov","Format":"MP4","Height":720,"Keywords":"","LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/L/IMG3721-L.jpg","LastUpdated":"2012-06-14 07:00:41","LightboxURL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905423544_pr2mHT3-A-LB","MediumURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/M/IMG3721-M.jpg","OriginalURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/O/IMG3721.jpg","Position":679,"Serial":0,"Size":546792,"SmallURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/S/IMG3721-S.jpg","ThumbURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/Th/IMG3721-Th.jpg","TinyURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/Ti/IMG3721-Ti.jpg","Type":"Album","URL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1905423544_pr2mHT3","Width":1280,"X2LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/X2/IMG3721-X2.jpg","X3LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/X3/IMG3721-X3.jpg","XLargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pr2mHT3/0/XL/IMG3721-XL.jpg"}
{"id":1907174033,"Key":"pV3H684","Caption":"","FileName":"M4H02951.MP4","Format":"MP4","Height":720,"Keywords":"","LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/L/M4H02951-L.jpg","LastUpdated":"2012-06-15 08:06:33","LightboxURL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1907174033_pV3H684-A-LB","MediumURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/M/M4H02951-M.jpg","OriginalURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/O/M4H02951.jpg","Position":611,"Serial":0,"Size":431919,"SmallURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/S/M4H02951-S.jpg","ThumbURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/Th/M4H02951-Th.jpg","TinyURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/Ti/M4H02951-Ti.jpg","Type":"Album","URL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626#1907174033_pV3H684","Width":1280,"X2LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/X2/M4H02951-X2.jpg","X3LargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/X3/M4H02951-X3.jpg","XLargeURL":"http://smc123.smugmug.com/Travel/Italy/i-pV3H684/0/XL/M4H02951-XL.jpg"}],
"URL":"http://smc123.smugmug.com/Travel/Italy/23433499_q6C626"}}
As you can see the "image" with filename "IMG_3721.mov" has format "MP4" but did not provide any VideoURL what so ever.
Indeed, this "Image" is a video if you look on SmugMug webpage of this user (smc123) with the link I provided in my first post.
Thanks for your time.
Greg.
Hi Sebastian,
Did you had time to have a look into my issue ?
Thanks in advance.
Greg.
Hi,
Any news ?
Thanks
That particular user has switched from Power to Basic account for which we don't provide VideoURLs. The user won't be able to upload new videos and we don't delete the videos from the galleries and thus the old videos are available in the gallery, but not accessible by the API.
http://msphoto.smugmug.com
http://twitter.com/tasmanic