documentation

This commit is contained in:
Sanj 2012-05-07 09:55:54 +05:30
parent bc12f8a30c
commit e3de7c786d

View File

@ -21,7 +21,7 @@
var opts = $.extend({ var opts = $.extend({
'id': 'ABC', //FIXME: throw an error if id is undefined at this point 'id': 'ABC', //FIXME: throw an error if id is undefined at this point
'layers': ['transcripts'], 'layers': ['transcripts', 'descriptions', 'keywords', 'places'],
'keys': ['layers'], //FIXME: add more apt keys 'keys': ['layers'], //FIXME: add more apt keys
'api': "http://pad.ma/api/", 'api': "http://pad.ma/api/",
'in': 0, 'in': 0,
@ -78,7 +78,6 @@
/* /*
Use this to set options on the player from the outside. Use this to set options on the player from the outside.
Example: Example:
var padmaVideoObject = $('#video').data("padmavideo");
padmaVideoObject.setOption("width", 250); padmaVideoObject.setOption("width", 250);
*/ */
this.setOption = function(key, val) { this.setOption = function(key, val) {