Skip to content

Commit

Permalink
Increased the media dialog height to make the preview and source view…
Browse files Browse the repository at this point in the history
…s larger.
  • Loading branch information
spocke committed Jan 13, 2011
1 parent 6a16e7a commit b0c36eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions jscripts/tiny_mce/plugins/media/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#width, #height { width: 40px }
#src, #media_type { width: 250px }
#class { width: 120px }
#prev { margin: 0; border: 1px solid black; width: 380px; height: 230px; overflow: auto }
.panel_wrapper div.current { height: 390px; overflow: auto }
#prev { margin: 0; border: 1px solid black; width: 380px; height: 260px; overflow: auto }
.panel_wrapper div.current { height: 420px; overflow: auto }
#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none }
.mceAddSelectValue { background-color: #DDDDDD }
#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px }
Expand Down
6 changes: 3 additions & 3 deletions jscripts/tiny_mce/plugins/media/editor_plugin_src.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
ed.windowManager.open({
file : url + '/media.htm',
width : 430 + parseInt(ed.getLang('media.delta_width', 0)),
height : 470 + parseInt(ed.getLang('media.delta_height', 0)),
height : 500 + parseInt(ed.getLang('media.delta_height', 0)),
inline : 1
}, {
plugin_url : url,
Expand Down Expand Up @@ -329,10 +329,10 @@
var baseUri, flashVars, flashVarsOutput, params;

baseUri = editor.documentBaseURI;
data.params.src = editor.getParam('flash_video_player_url', self.convertUrl(self.url + '/img/flv_player.swf'));
data.params.src = editor.getParam('flash_video_player_url', self.convertUrl(self.url + '/img/moxieplayer.swf'));

// Convert the movie url to absolute urls
if (editor.getParam('flash_video_player_absvideourl')) {
if (editor.getParam('flash_video_player_absvideourl', true)) {
video_src = baseUri.toAbsolute(video_src || '', true);
poster_src = baseUri.toAbsolute(poster_src || '', true);
}
Expand Down
2 changes: 1 addition & 1 deletion jscripts/tiny_mce/plugins/media/media.htm
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@
<div id="source_panel" class="panel">
<fieldset>
<legend>{#media_dlg.source}</legend>
<textarea id="source" style="width: 100%; height: 340px"></textarea>
<textarea id="source" style="width: 100%; height: 390px"></textarea>
</fieldset>
</div>
</div>
Expand Down

0 comments on commit b0c36eb

Please sign in to comment.