WordPress.org

Ready to get started?Download WordPress

Forums

podpress XSPF widget change dimensions (2 posts)

  1. ruudschmahinda
    Member
    Posted 4 years ago #

    hey there, this one has been asked here before, but not been answered and yet closed...

    since I have the same problem as the guy before me I would like to know if:
    it is possible to change the dimensions of the XSPF-player in the sidebar, when using the one delivered with the latest version of podpress....

    I especially want to use the slim version, which takes up more height than width instead the other way around (lot of white space to the next widget :( )... and I can't find a single file to configure it.. will I have to add a xml or is it possible to hack it into one of the podpress files?

    I hope I stated my problem correctly, if not, please be patient with me, I am kind of new to this and not a native english speaker ;)

  2. ntm
    Member
    Posted 4 years ago #

    Unfortunately it is not possible to change the width of the XSPF player easily. There is no option on an options page.

    In the moment the only way would be editing the podpress_functions.php file in line 449 for the slim player and in line 456 for the player with playlist. (The line numbers are valid for podPress v8.8.4)

    line 449:
    echo '<object type="application/x-shockwave-flash" width="150" height="170" ';

    The width and height values are pixel values. For the slim player a height of 15px are enough.

    new line 449:
    echo '<object type="application/x-shockwave-flash" width="150" height="15" ';

    The next release will have at least this correction (I have created a Ticket #1088.). (Changing the source code now will not be futile.)

    (I'm not a native English speaker either.)

Topic Closed

This topic has been closed to new replies.

About this Topic