I uploaded an mpg video but there was no controls(play,pause...) how can I make sure that it always appears and how do i make it always size i want ie. width 425 height 350
I have the exact same problem, but with .mov files. The file will eventually start playing after enough of the clip has been cached and then I can pause and play by double clicking on the video, but the control bar at the bottom that tells me how much has been cached, has the pause/play, and the movie scroll bar is missing. How can I get that to appear in my movies?
Copy the theme_html_picture() function from themes/sample/theme.php into your theme.php and adjust the control offsets there
$ctrl_offset['mov']=15;
$ctrl_offset['wmv']=45;
$ctrl_offset['swf']=0;
$ctrl_offset['rm']=0;
$ctrl_offset_default=45;
That will make the player taller so that the control buttons are displayed.
Thanks, that did it, although I had to significantly increase the numbers as well as the default width value to accommodate the size of my videos.
$CURRENT_PIC_DATA['pwidth'] = 490; // Default width
// Set default height; if file is a movie
if ($mime_content['content']=='movie') {
$CURRENT_PIC_DATA['pheight'] = 240; // Default height
}
}
$ctrl_offset['mov']=140;
$ctrl_offset['wmv']=140;
$ctrl_offset['swf']=75;
$ctrl_offset['rm']=70;
$ctrl_offset_default=140;