Viewing 2 replies - 1 through 2 (of 2 total)
  • Hope it’s not too late, but I have a way to re-size with this plugin.

    Select ‘edit’ from the plugins page of your admin.

    ...
    function spiderpowa_embedpdf_shortcode($attr){
    	return '<embed src="'.$attr['src'].'" style=" height:500px; width:650px;"></embed>';
    ...

    (The height and width attributes have been changed in this example, and I don’t remember the original height value. Width default is 100%)

    I was able to change both attributes without interfering with the plugin’s functionality.

    Hope it helps..

    Hi

    I would like ask you something about the plugin. Do you know another way to change the height value without changing sourcecode? Can we use the height parameter in shortcode?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to size the window?’ is closed to new replies.