0

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.

asked Oct 3, 2015 at 12:32

2 Answers 2

1

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

answered Sep 24, 2016 at 13:58
1
  • Can you please add full file description . ? Commented Feb 26, 2018 at 6:08
-2

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

answered Oct 4, 2015 at 10:39
3
  • 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. Commented Oct 4, 2015 at 14:01
  • You want to upload video through backend right Commented Oct 4, 2015 at 14:39
  • 1
    Yes. From backend using wysiwyg editor. Commented Oct 4, 2015 at 18:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.