smugmug.users.getFeatureInfo
mattwright
Registered Users Posts: 124 Major grins
An idea for the future:
Would be nice to present video options only to users who have accounts that are video capable. I could use the AccountType value in the login return (which I will do for now), but if you had a function called smugmug.users.getFeatureInfo, you could put things in there such as whether video is enabled, smugvault is enabled, custom domain name, etc. Then if account types are changed in the future, or you expand video service (or another feature) to more account types, the features available will update accordingly.
Would be nice to present video options only to users who have accounts that are video capable. I could use the AccountType value in the login return (which I will do for now), but if you had a function called smugmug.users.getFeatureInfo, you could put things in there such as whether video is enabled, smugvault is enabled, custom domain name, etc. Then if account types are changed in the future, or you expand video service (or another feature) to more account types, the features available will update accordingly.
0
Comments
I like this idea as well. Some other information that would be useful for this to return: supported file types (jpg, png, etc), maximum file size (in MB and pixels), maximum video size (in MB and time). That way developers could simply build these checks into their software and not have to update their apps whenever SM makes changes to supported file types/size limits/etc.