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.


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


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

  • Can you please add full file description . ? – Sarfaraj Sipai Feb 26 '18 at 6:08

goto youtube.com open which video you want then bottom of video three option is there. so you click Embed after that it will show like this

<iframe width="560" height="315" src="https://www.youtube.com/embed/dUgra62yOBw?list=PLDxywfIfVjJrva58P_oXhG8zUQAAsOayp" frameborder="0" allowfullscreen></iframe>

Then use this in your static block or cms page

  • I have already done that and it works fine. But I want to upload from backend admin section, i.e. I want to create a CMS static block containing a video. I am having problem uploading video through wysiwyg editor. – Kishore Patra Oct 4 '15 at 14:01
  • You want to upload video through backend right – Magento 2 Oct 4 '15 at 14:39
  • 1
    Yes. From backend using wysiwyg editor. – Kishore Patra Oct 4 '15 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.