Browse Source

Fix for Flickr URL parsing

pull/13/head
Zach Wise 13 years ago
parent
commit
9f1ae1f346
  1. BIN
      source/.DS_Store
  2. 3
      source/js/VMM.js

BIN
source/.DS_Store vendored

Binary file not shown.

3
source/js/VMM.js

@ -1704,9 +1704,10 @@ if (typeof VMM == 'undefined') {
media.id = d.split(/src=['|"][^'|"]*?['|"]/gi);
trace("google map " + media.id);
success = true;
} else if (d.match("flickr.com")) {
} else if (d.match("flickr.com/photos")) {
media.type = "flickr";
//media.id = d.split('/photos/[^/]+/([0-9]+)/gi');
media.id = d.split("photos\/")[1].split("/")[1];
//media.id = media.id.split("/")[1];
trace("FLICKR " + media.id);

Loading…
Cancel
Save