Lines Matching refs:options

39 	$.fn.jPlayer = function( options ) {  argument
41 var isMethodCall = typeof options === "string",
46 options = !isMethodCall && args.length ?
47 $.extend.apply( null, [ true, options ].concat(args) ) :
48 options;
51 if ( isMethodCall && options.charAt( 0 ) === "_" ) {
58 methodValue = instance && $.isFunction( instance[options] ) ?
59 instance[ options ].apply( instance, args ) :
71 …instance.option( options || {} ); // The new constructor only changes the options. Changing option…
73 $(this).data( name, new $.jPlayer( options, this ) );
81 $.jPlayer = function( options, element ) { argument
85 this.options = $.extend(true, {},
86 this.options,
87 options
203 this.options = { class in ConvertTime.init
212 …min = this.options.timeFormat.showHour ? myTime.getUTCMinutes() : myTime.getUTCMinutes() + hour * …
213 …sec = this.options.timeFormat.showMin ? myTime.getUTCSeconds() : myTime.getUTCSeconds() + min * 60,
214 strHour = (this.options.timeFormat.padHour && hour < 10) ? "0" + hour : hour,
215 strMin = (this.options.timeFormat.padMin && min < 10) ? "0" + min : min,
216 strSec = (this.options.timeFormat.padSec && sec < 10) ? "0" + sec : sec,
219 strTime += this.options.timeFormat.showHour ? strHour + this.options.timeFormat.sepHour : "";
220 strTime += this.options.timeFormat.showMin ? strMin + this.options.timeFormat.sepMin : "";
221 strTime += this.options.timeFormat.showSec ? strSec + this.options.timeFormat.sepSec : "";
457 $.each(f.options.keyBindings, function(action, binding) {
492 options: { // Instanced in $.jPlayer() constructor
556 if(event.jPlayer.options.loop) {
614 if(f.status.video || f.options.audioFullScreen) {
615 f._setOption("fullScreen", !f.options.fullScreen);
622 f._muted(!f.options.muted);
628 f.volume(f.options.volume + 0.1);
634 f.volume(f.options.volume - 0.1);
640 f._loop(!f.options.loop);
824 this.options.timeFormat = $.extend({}, $.jPlayer.timeFormat, this.options.timeFormat);
832 if(this.options.keyEnabled && !$.jPlayer.focus) {
844 …this.options.preload = this.options.preload !== 'auto' ? 'metadata' : 'auto'; // Default to metada…
866 … this.options.volume = this._limitValue(this.options.volume, 0, 1); // Limit volume value's bounds.
869 $.each(this.options.supplied.toLowerCase().split(","), function(index1, value1) {
886 $.each(this.options.solution.toLowerCase().split(","), function(index1, value1) {
903 $.each(this.options.auroraFormats.toLowerCase().split(","), function(index1, value1) {
924 this.element.attr("id", this.options.idPrefix + "_jplayer_" + this.count);
932 id: this.options.idPrefix + "_audio_" + this.count,
936 id: this.options.idPrefix + "_video_" + this.count,
940 id: this.options.idPrefix + "_flash_" + this.count,
942 …swf: this.options.swfPath + (this.options.swfPath.toLowerCase().slice(-4) !== ".swf" ? (this.optio…
945 id: this.options.idPrefix + "_poster_" + this.count,
951 if(self.options[eventName] !== undefined) {
952 self.element.bind(eventType + ".jPlayer", self.options[eventName]); // With .jPlayer namespace.
953 …self.options[eventName] = undefined; // Destroy the handler pointer copy on the options. Reason, e…
966 this.options = $.extend(true, {},
968 this.options
971 this.options = $.extend(true, {},
973 this.options
979 this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls);
980 this.status.noFullWindow = this._uaBlocklist(this.options.noFullWindow);
981 this.status.noVolume = this._uaBlocklist(this.options.noVolume);
1079 this._cssSelectorAncestor(this.options.cssSelectorAncestor);
1085 … context: "{solution:'" + this.options.solution + "', supplied:'" + this.options.supplied + "'}",
1101 …encodeURI(this.options.noConflict) + '&id=' + encodeURI(this.internal.self.id) + '&vol=' + this.op…
1113 '<param name="bgcolor" value="' + this.options.backgroundColor + '" />',
1114 '<param name="wmode" value="' + this.options.wmode + '" />'
1139 createParam(htmlObj, "bgcolor", this.options.backgroundColor);
1140 createParam(htmlObj, "wmode", this.options.wmode);
1189 if( this.options.emulateHtml ) {
1245 if(this.options.emulateHtml) {
1338 mediaElement.preload = this.options.preload;
1339 mediaElement.muted = this.options.muted;
1340 mediaElement.volume = this.options.volume;
1343 mediaElement.defaultPlaybackRate = this.options.defaultPlaybackRate;
1344 mediaElement.playbackRate = this.options.playbackRate;
1431 self.options.volume = mediaElement.volume;
1432 self.options.muted = mediaElement.muted;
1440 self.options.defaultPlaybackRate = mediaElement.defaultPlaybackRate;
1441 self.options.playbackRate = mediaElement.playbackRate;
1505 player.volume = this.options.volume * 100;
1652 event.jPlayer.options = $.extend(true, {}, this.options); // Deep copy
1697 this.volumeWorker(this.options.volume);
1810 if(!this.status.noFullWindow && this.options.fullWindow) {
1815 if(this.options.loop) {
1834 } else if(this.options.fullWindow) {
1843 if(this.options.loop) {
1857 if(this.options.smoothPlayBar) {
1883 if(this.options.remainingDuration) {
1937 this.ancestorJq.addClass(this.options.stateClass[state]);
1942 this.ancestorJq.removeClass(this.options.stateClass[state]);
2057 context: "{supplied:'" + this.options.supplied + "'}",
2108 if(this.options.keyEnabled) {
2114 if(guiAction && this.options.useStateClassSkin && !this.status.paused) {
2206 if(this.options.globalVolume) {
2209 return this.options.globalVolume;
2214 this.options.muted = muted;
2228 this._updateVolume(this.options.volume);
2234 if(guiAction && this.options.useStateClassSkin && this.options.muted) {
2247 mute = this.options.muted;
2269 if(this.options.globalVolume) {
2272 return this.options.globalVolume;
2278 this.options.volume = v;
2305 if(this.options.verticalVolume) {
2311 if(this.options.muted) {
2317 v = this.options.volume;
2319 v = this.options.muted ? 0 : v;
2339 this.css.jq.volumeBarValue[this.options.verticalVolume ? "height" : "width"]((v*100)+"%");
2348 if(this.options.muted) {
2354 this.options.cssSelectorAncestor = ancestor;
2366 $.each(this.options.cssSelector, function(fn, cssSel) {
2380 if($.jPlayer.prototype.options.cssSelector[fn]) {
2384 this.options.cssSelector[fn] = cssSel;
2385 this.css.cs[fn] = this.options.cssSelectorAncestor + " " + cssSel;
2397 if(self.options.autoBlur) {
2432 if(this.options.toggleDuration) {
2433 if(this.options.captureDuration) {
2436 this._setOption("remainingDuration", !this.options.remainingDuration);
2463 if(this.options.verticalPlaybackRate) {
2468 …pbr = ratio * (this.options.maxPlaybackRate - this.options.minPlaybackRate) + this.options.minPlay…
2473 var pbr = this.options.playbackRate,
2474 …ratio = (pbr - this.options.minPlaybackRate) / (this.options.maxPlaybackRate - this.options.minPla…
2481 …this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate ? "height" : "width"]((ratio*10…
2494 if(guiAction && this.options.useStateClassSkin && this.options.loop) {
2504 if(this.options.loop !== loop) {
2505 this.options.loop = loop;
2513 var options = key;
2517 return $.extend( true, {}, this.options );
2526 var opt = $.extend(true, {}, this.options);
2547 options = {};
2548 var opts = options;
2562 this._setOptions(options);
2566 _setOptions: function(options) { argument
2568 …$.each(options, function(key, value) { // This supports the 2 level depth that the options of jPla…
2587 this.options[key] = value;
2598 …this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate, this.options.max…
2605 …this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate, this.options.max…
2612 this.options[key] = value = this._limitValue(value, 0.1, this.options.maxPlaybackRate - 0.1);
2616 this.options[key] = value = this._limitValue(value, this.options.minPlaybackRate + 0.1, 16);
2620 if(this.options[key] !== value) { // if changed
2624 this.options[key] = value;
2638 if(this.options[key] !== value) { // if changed
2640 this.options[key] = value;
2645 if(!this.options.fullWindow && this.options[key].cssClass !== value.cssClass) {
2648 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2652 if(this.options.fullWindow && this.options[key].cssClass !== value.cssClass) {
2655 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2659 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2666 this.options[key] = value;
2670 this.options[key] = value;
2673 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2674 this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls);
2679 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2680 …this.status.nativeVideoControls = this._uaBlocklist(this.options.nativeVideoControls); // Need to …
2681 this.status.noFullWindow = this._uaBlocklist(this.options.noFullWindow);
2686 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2687 this.status.noVolume = this._uaBlocklist(this.options.noVolume);
2692 …if(this.options[key] !== value) { // To avoid multiple event handlers being created, if true alrea…
2693 this.options[key] = value;
2702 …this.options[key] = $.extend({}, this.options[key], value); // store a merged copy of it, incase n…
2705 this.options[key] = value;
2711 …this.options[key] = $.extend(true, {}, this.options[key], value); // store a merged DEEP copy of i…
2714 this.options[key] = value;
2717 this.options[key] = value;
2735 if(this.options.fullWindow) {
2736 this.status.width = this.options.sizeFull.width;
2737 this.status.height = this.options.sizeFull.height;
2738 this.status.cssClass = this.options.sizeFull.cssClass;
2740 this.status.width = this.options.size.width;
2741 this.status.height = this.options.size.height;
2742 this.status.cssClass = this.options.size.cssClass;
2793 self.css.jq.gui.fadeIn(self.options.autohide.fadeIn, function() {
2796 self.css.jq.gui.fadeOut(self.options.autohide.fadeOut);
2797 }, self.options.autohide.hold);
2817 …if(this.options.fullWindow && this.options.autohide.full || !this.options.fullWindow && this.optio…
2831 if(guiAction && this.options.useStateClassSkin && this.options.fullScreen) {
2866 if(this.options.fullScreen && !$.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()) {
2917 if(this.options.preload !== 'none') {
3114 if(this.options.preload === 'auto') {
3215 if(this.options.preload === 'auto') {
3243 if(this.options.preload === 'auto') {
3381 if(this.options.errorAlerts) {
3387 if(this.options.warningAlerts) {
3393 if(!this.options.consoleAlerts) {
3439 self.internal.domNode[name] = self.options[name];