Fix for the Video Player Preview and the Listen Wrapper
|Reported by:||ntm||Owned by:||seek3r|
|Severity:||normal||Keywords:||player settings, podpress|
|Cc:||seek3r, azaozz, ntm|
The preview of the video player layout is made with a table layout which is out of date and more importantly doesn't work for all themes and browsers in the same way.
The wrapper for the audio player is made in the same way.
The attached fix is for the Front- and the backend.
Changes compared to trunk:
- function podPressGenerateVideoPreview()
- has a new parameter because the at the editor pages in the backend the old table layout works better in FF 3.5, IE 6, Safari 4.0.4 and Opera 10 than the the new which works at frontend.
- added the Box-Model Layout
- function podPressGeneratePlayer()
- changed listen wrapper layout
podpress_admin_player_class.php (Player settings page)
- changes for the new listen wrapper
- new function podPressShowHideWrapper(target_cell_id) which loads the audiplayer into the target cell (this function is used in podpress_admin_player_class.php)
- contains the changes of Ticket #1060
- insert_content() contains no the right criteria for disabeling only the preview of the video player
podpress_admin_functions.php and podpress_admin_class.php
- the player preview dimension select-box is repaired: it is no longer possible to select the label "common dimensions" as a dimension and the selected values are selected on loading
- the podPress_videoDimensionOptions() function has a new parameter for the selected value and contains the necessary changes
- contains a new div container for the download and player links
- contains a new definition for the class .podPress_downloadlinks