Magento – how to upload video file through wysiwyg editor in magento

magento-1.7wysiwyg

My home page needs to be a promotional video to be embedded. I thought to create a static block which will contain the video file and I just add that block to the content by updating the layout in admin side.
But the problem is that I cann't upload a video file through wysiwyg editor. Sometime it says "Disallowed Type" . Sometimes it simply don't do anything while uploading file.
Kindly help me. Thanks.

Best Answer

You have to allow a new file extension like this in your config.xml:

<adminhtml>
    <cms>
        <browser>
            <extensions>
                <allowed>
                    <mp4>1</mp4>
                </allowed>
            </extensions>
        </browser>
    </cms>
</adminhtml>

Change or add the Extension in the "allow" node. Make sure, that your Server is configured to Upload bigger files

Related Topic