3/26/2013 3:29:00 PM
(Continued)
2) Since users where confused on how to get a direct URL to videos
shared via Dropbox, I added some trickery to ClipFlair's Clip component.
Now all the following Dropbox URLs will be playable at the Clip
component:
* https://www.dropbox.com/s/facbohoqvldvlju/GigglesEp1.wmv
This points to a download webpage, that's why it starts with www.dropbox.com and not dl.dropbox.com. Also it says "fac..." there since it's from a user's private Dropbox folder (not their public one). You get such a link whether you used the Dropbox webpage to share the link to a Dropbox file from a private folder, or you right clicked the file in the Dropbox folder at Windows Explorer and used the Dropbox submenu on the popup that appears
* https://dl.dropbox.com/u/49110744/GigglesEp1.wmv
This starts with https protocol (SSL encryption) which is not yet supported by our player (need to look into that), but since Dropbox also supports http (which is faster) I just change https to http internally. The "49..." is Dropbox's internal user id so this is from a user's public Dropbox folder. You'd get such a link if you shared a link from your public Dropbox folder using the Dropbox context menu when you right click on a file there at Windows Explorer
* http://dl.dropbox.com/u/49110744/GigglesEp1.wmv
similar to previous one, you'd get that one if you shared a link from your public Dropbox folder, but using the Dropbox webpage to get the link. That one used to work OK with the Clip component (since it has no https and points to dl.dropbox.com)
obviously you can also do
http://studio.clipflair.net?video=https://www.dropbox.com/s/facbohoqvldvlju/GigglesEp1.wmv
to play that Dropbox video in a new activity with a Clip component that is automatically added in it