Why did video uploaded have no control settings? Why did video uploaded have no control settings?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Why did video uploaded have no control settings?

Started by pdiddy8117, January 01, 2007, 12:42:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pdiddy8117

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

admadan

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?

Nibbler

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.

admadan

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;