• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug APIs, Hacks & Tricks VideoURL sometimes not returned

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jun-18-2012, 05:35 AM
#1
quiks is offline quiks OP
Big grins
quiks's Avatar
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.
Old Jun-20-2012, 04:28 AM
#2
rainforest1155 is offline rainforest1155
with a Heroes touch
rainforest1155's Avatar
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
Old Jun-20-2012, 05:04 AM
#3
quiks is offline quiks OP
Big grins
quiks's Avatar
Quote:
Originally Posted by rainforest1155 View Post
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.
I'm using the request:
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.
Old Jun-25-2012, 10:38 PM
#4
quiks is offline quiks OP
Big grins
quiks's Avatar
Quote:
Originally Posted by rainforest1155 View Post
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.
Hi Sebastian,

Did you had time to have a look into my issue ?

Thanks in advance.
Greg.
Old Jul-16-2012, 11:06 PM
#5
quiks is offline quiks OP
Big grins
quiks's Avatar
Quote:
Originally Posted by quiks View Post
Hi Sebastian,

Did you had time to have a look into my issue ?

Thanks in advance.
Greg.
Hi,

Any news ?

Thanks
Old Jul-17-2012, 09:13 AM
#6
MSkaffari is offline MSkaffari
SmugMug Product Manager
MSkaffari's Avatar
Quote:
Originally Posted by quiks View Post
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.
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

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump