Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/omtkEmbed.js |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | if ( this.playerElement.play ) { |
85 | 85 | // mw.log('omtk obj is missing .play (probably not omtk obj)'); |
86 | 86 | } |
87 | | - }, |
| 87 | + } |
88 | 88 | } |
89 | 89 | // Some auto-called globals (bad) |
90 | 90 | function OMTK_P_complete() { |
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/mw.EmbedPlayer.js |
— | — | @@ -239,13 +239,13 @@ |
240 | 240 | * |
241 | 241 | * Rewrites all tags via a given selector |
242 | 242 | * |
243 | | - * @param [ Optional ] {Object} attributes The embedPlayer options for the given video interface. |
| 243 | + * @param {Object} attributes [ Optional ] The embedPlayer options for the given video interface. |
244 | 244 | * Attributes Object can inclued any key value pair that would otherwise be |
245 | 245 | * an attribute in the html element. |
246 | 246 | * |
247 | 247 | * also see: mw.getConfig( 'embedPlayerAttributes' ) |
248 | 248 | * |
249 | | - * @param [ Optional ] {Function} callback Function to be called once video interfaces are ready |
| 249 | + * @param {Function} callback [ Optional ] Function to be called once video interfaces are ready |
250 | 250 | * |
251 | 251 | */ |
252 | 252 | $.fn.embedPlayer = function( attributes, callback ) { |
— | — | @@ -779,8 +779,7 @@ |
780 | 780 | |
781 | 781 | /** |
782 | 782 | * Title accessor function. |
783 | | - * @return Title of the source. |
784 | | - * @type String |
| 783 | + * @return {String} Title of the source. |
785 | 784 | */ |
786 | 785 | getTitle : function() { |
787 | 786 | if( this.title ){ |
— | — | @@ -808,8 +807,7 @@ |
809 | 808 | }, |
810 | 809 | |
811 | 810 | /** Index accessor function. |
812 | | - * @return the source's index within the enclosing mediaElement container. |
813 | | - * @type Integer |
| 811 | + * @return {Integer} the source's index within the enclosing mediaElement container. |
814 | 812 | */ |
815 | 813 | getIndex : function() { |
816 | 814 | return this.index; |
— | — | @@ -846,8 +844,7 @@ |
847 | 845 | /** |
848 | 846 | * Attempts to detect the type of a media file based on the URI. |
849 | 847 | * @param {String} uri URI of the media file. |
850 | | - * @return The guessed MIME type of the file. |
851 | | - * @type String |
| 848 | + * @return {String} The guessed MIME type of the file. |
852 | 849 | */ |
853 | 850 | detectType: function( uri ) { |
854 | 851 | // NOTE: if media is on the same server as the javascript |
— | — | @@ -957,8 +954,7 @@ |
958 | 955 | |
959 | 956 | /** |
960 | 957 | * Check for Timed Text tracks |
961 | | - * @return True if text tracks exist, false if no text tracks are found |
962 | | - * @type Boolean |
| 958 | + * @return {Boolean} True if text tracks exist, false if no text tracks are found |
963 | 959 | */ |
964 | 960 | textSourceExists: function() { |
965 | 961 | for ( var i = 0; i < this.sources.length; i++ ) { |
— | — | @@ -976,8 +972,7 @@ |
977 | 973 | * Returns the array of mediaSources of this element. |
978 | 974 | * |
979 | 975 | * @param {String} [mime_filter] Filter criteria for set of mediaSources to return |
980 | | - * @return mediaSource elements. |
981 | | - * @type Array |
| 976 | + * @return {Array} mediaSource elements. |
982 | 977 | */ |
983 | 978 | getSources: function( mimeFilter ) { |
984 | 979 | if ( !mimeFilter ) { |
— | — | @@ -2891,7 +2886,7 @@ |
2892 | 2887 | * mediaPlayer represents a media player plugin. |
2893 | 2888 | |
2894 | 2889 | * @param {String} id id used for the plugin. |
2895 | | - * @param {Array<String>} supported_types n array of supported MIME types. |
| 2890 | + * @param {Array} supported_types an array of supported MIME types. |
2896 | 2891 | * @param {String} library external script containing the plugin interface code. |
2897 | 2892 | * @constructor |
2898 | 2893 | */ |
— | — | @@ -3370,4 +3365,4 @@ |
3371 | 3366 | } |
3372 | 3367 | return hasObj; |
3373 | 3368 | } |
3374 | | -}; |
\ No newline at end of file |
| 3369 | +}; |
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/vlcEmbed.js |
— | — | @@ -313,8 +313,7 @@ |
314 | 314 | |
315 | 315 | /** |
316 | 316 | * Gets the current volume |
317 | | - * @return percent percent of total volume |
318 | | - * @type {Float} |
| 317 | + * @return {Float} percent percent of total volume |
319 | 318 | */ |
320 | 319 | getVolumen:function() { |
321 | 320 | if ( this.getPlayerElement() ) |