Dumb question about video's

Hello all, still learning all the ropes but I haven't been able to find an answer to this and have searched the forums to the best of my abilities, but is there a way to set the default setting for video's to "embed" versus "flash"? That way when a user goes to upload a new video, the first option presented is for embedding a video say from youtube versus using the flash uploader to upload one from their device?

flash-uploader.jpg · 21.5K · 104 views
embed-uploader.jpg · 28.8K · 108 views
Quote · 22 Nov 2013

Run the following query in your phpmyadmin then go to your admin panel and clear cache :

UPDATE `sys_options` SET `VALUE` = 'embed,flash,regular,record',  `AvailableValues` = 'embed,flash,regular,record' WHERE `Name` = 'bx_videos_uploader_switcher';

 

Also make the file change stated below :

 

In inc/classes/BxDolFilesConfig.php

Find the function getAllUploaderArray. Rename it and replace with the function below :

    function getAllUploaderArray ($sLink = '')
    {
        return array(
            '_' . $this->sPrefix . '_embed' => array('active' => !isset($_GET['mode']) || ($_GET['mode'] == 'embed') ? true : false, 'href' => $sLink . "&mode=embed"),
            '_adm_admtools_Flash' => array('active' => $_GET['mode'] == 'flash' ? true : false, 'href' => $sLink . "&mode=flash"),   
            '_' . $this->sPrefix . '_regular' => array('active' => $_GET['mode'] == 'single' ? true : false, 'href' => $sLink . "&mode=single"),
            '_' . $this->sPrefix . '_record' => array('active' => $_GET['mode'] == 'record' ? true : false, 'href' => $sLink . "&mode=record"),
        );
    }

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 22 Nov 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.