Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2009-07-31 00:44:02

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 981
Website

Re: pat_speeder

This looks pretty cool. Is there any way to exempt some parts from compression? I have an autocomplete array served by rah_external_output that breaks when this plugin is active. If not, no big deal— this could come in useful on other sites!

Offline

#22 2009-07-31 05:09:16

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,240
Website

Re: pat_speeder

Hi John.

Sure. You can use pat_speeder v0.4 instead to choose which page to compress.

Example:
<txp:pat_speeder enable="1" /> at the very top of each your page templates. Then change the attribute to “0” to desable this plugin in the page of your choice.

Best regards,

Last edited by Pat64 (2009-07-31 06:24:52)

Offline

#23 2009-08-06 05:07:17

danwoodward
Member
From: Brooklyn NY
Registered: 2006-08-06
Posts: 51
Website

Re: pat_speeder

I have some problems with flash player embedded via javascript. For some reason when the code is compressed it just doesn’t work right, I’ll post the code here if any one has any suggestions.

Original

<script type="text/javascript">
function createPlayer(theFile) {
   var flashvars = {
		file:theFile, 
		autostart:"false",
		playlistsize:"239",
		playlist:"bottom",
		skin: "http://URL.com/TO/SWF.swf",
		backcolor: "D7D7D7",
		lightcolor:"00B1E9",
		frontcolor:"222222",
		shuffle: "false",
		repeat: "always",
		volume: "10"
   }
   var params = {
		wmode:"transparent", 
		allowfullscreen:"true", 
		allowscriptaccess:"always"
   }
   var attributes = {
		id:"player1",  
		name:"player1"
   }
   swfobject.embedSWF('http://URL.com/TO/SWF.swf', "placeholder1", "100%", "271", "9.0.115", false, flashvars, params, attributes);
}
jQuery(document).ready(function(){createPlayer('http://http://URL.com/TO/XML.xml')});		
</script>

Signle Line

<script type="text/javascript"> function createPlayer(theFile) { var flashvars = { file:theFile, autostart:"false", playlistsize:"239", playlist:"bottom", skin: "http://URL.com/TO/SWF.swf", backcolor: "D7D7D7", lightcolor:"00B1E9", frontcolor:"222222", shuffle: "false", repeat: "always", volume: "10" } var params = { wmode:"transparent", allowfullscreen:"true", allowscriptaccess:"always" } var attributes = { id:"player1", name:"player1" } swfobject.embedSWF('http://URL.com/TO/SWF.swf', "placeholder1", "100%", "271", "9.0.115", false, flashvars, params, attributes); } jQuery(document).ready(function(){createPlayer('http://http://URL.com/TO/XML.xml')}); </script>

Offline

#24 2009-08-06 07:02:36

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,240
Website

Re: pat_speeder

Hi Dan.

This behavior is reported in the plugin’s help. Currently I don’t know why. Try to use version 4 of this plugin instead to desable it on your template where you display this flash player.
I’m trying to find a solution.

Cheers,

Offline

#25 2009-08-06 13:48:24

woof
Member
Registered: 2004-08-01
Posts: 128

Re: pat_speeder

Hi Patrick

This is a realy useful plugin, thanks. A suggestion: It would be really nifty if there was a version of this plugin that you could apply to select areas of your code (ie as wrap tags). For example it would be a solution to this issue

Offline

#26 2009-08-06 14:15:56

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,240
Website

Re: pat_speeder

Tkx John.

Good idea. I’m trying to add this.

Offline

#27 2009-08-18 22:37:04

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: pat_speeder

Very nice the launch site!

BTW: activating the pat_speeder plugin, the icons of Gocom’s rah_textilebar plugin disappear. Any solution?
Thanks in advance for the help.

Offline

#28 2009-08-21 13:35:20

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,240
Website

Re: pat_speeder

Hi candyman.

rah_textilebar is a back-end plugin ; pat_speeder is a client one. Are you sure you’d got this problem? I can’t reproduce it.

Offline

#29 2010-11-12 08:21:12

koguma
New Member
Registered: 2010-11-12
Posts: 4

Re: pat_speeder

Hi,

Unfortunately your plugin does not work with any of the Flabell Flash components. Check it out, they have a bunch of free ones you can test with: http://www.flabell.com

Offline

#30 2011-08-07 15:23:00

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,240
Website

Re: pat_speeder

All

New version added into this thread first post: version 0.4.c add support for “HTML5/Boilerplate” doctype declaration method (06 Jul 2011).

Enjoy HTML5.

Offline

Board footer

Powered by FluxBB