7
Quote:
Now for my question...when you say "player administration", do you mean go to the edit player tab, and edit the height and width in the swf player configuration code?
Yes! I experimented a little. Remove the entries which look like this from the player code:
width="<@width@>"
height="<@height@>"
This appears twice! in the player code. Theoretically! the original size of movie is taken and will be displayed.
But this topic leaves me in a dilemma. Should I keep the option for forcing the player to display a certain size or should the window be auto-resized?Above solved!
I will change the database fields into varchar(4) and then the value 100% for width and height can be entered.
Another edit: Before someone tries to change his database and complains that the changes are not working I have to explain some more things. In admin/index.php there are two functions called changeplayer and newplayer. Since we changed the database field to varchar intval cannot be used anymore for cleaning the values for width and height. Look for intval in conjunction with width and height and replace intval with:
$xoopsDB->quoteString
I hope this was understandable?