Browse Source

Documentation

pull/162/head
Zach Wise 13 years ago
parent
commit
53a204ef72
  1. 7
      source/js/Media/VMM.MediaType.js

7
source/js/Media/VMM.MediaType.js

@ -1,10 +1,11 @@
/* MediaType
Determines the type of media the url string is.
returns an object with .type and .id
the id is a key piece of information needed to make
the request of the api.
================================================== */
if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') {
//VMM.mediaType.youtube(d); //should return a true or false
// VMM.MediaType(url); //returns an object with .type and .id
VMM.MediaType = function(d) {
var success = false,
media = {

Loading…
Cancel
Save