|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
VideoURL sometimes not returned
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/Ita...4033&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. |
|
|
|
|
#2
|
|
|
with a Heroes touch
|
Greg,
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.
__________________
Sebastian SmugMug Support Hero look on the bright side http://www.SebastianHosche.com |
|
|
|
|
#3
|
||
|
Big grins
|
Quote:
http://api.smugmug.com/services/api/...mKey=ALBUM_KEY I'm getting this: {"stat":"ok","method":"smugmug.images.get","Album" :{"id":23433499,"Key":"q6C626","ImageCount":604,"I mages":[ {"id":1905384915,"Key":"rgzfwkS","Caption":"","Fil eName":"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":142 417,"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":"","Fil eName":"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":5467 92,"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":"","Fil eName":"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":431 919,"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. |
|
|
|
||
|
#4
|
||
|
Big grins
|
Quote:
Did you had time to have a look into my issue ? Thanks in advance. Greg. |
|
|
|
||
|
#5
|
|
|
Big grins
|
|
|
|
|
|
#6
|
|
|
SmugMug Product Manager
|
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.
|
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Bad URLs returned by API | David PL | SmugMug APIs, Hacks & Tricks | 0 | Dec-03-2011 03:49 PM | |
| AlbumURL removed from Image struct returned in smugmug.images.get [API 1.2.2] | frb | SmugMug APIs, Hacks & Tricks | 4 | May-26-2009 04:34 AM | |
| Brown Thrashers have returned | IraRunyan | Wildlife | 3 | Apr-26-2009 04:27 PM | |
| e-mails getting returned to sender... | brandofamily | SmugMug Support | 10 | Sep-09-2006 05:40 AM | |
| Returned the D70 | SteveLongPhoto | Cameras | 10 | Apr-02-2005 12:28 AM | |
| Thread Tools | |
| Display Modes | |
|
|