Dilbert62 Posted July 24, 2012 Share Posted July 24, 2012 Hello, I have been trying to add my own videos to descriptions using the TinyMCE editor, but have not had much success. The videos appear to load in the front-end, but they don't play. I succeeded in embedding a video from YouTube, but not one directly on my site. I'm trying to put the video on the home page, using the Home Text Editor, but I assume that the problems are the same regardless of where the video is embedded. When I select the icon Insert/Edit Embedded Media, the dialog has a combo box for the Type of the video. I have been trying with video file formats MP4 and WMV, but I was having to guess the Type to use for the particular format. Is there a description of which Type to choose, depending on the video file format? I was then clicking on the Browse button to select my video file. At first the video file was not displayed in the list and I wasn't sure why, because it states Current Path Folder = Root Folder. I assumed that root folder was my top level folder (public_html). It took ages before I noticed the smaller information that the folder is 'cms', which is actually the img/cms folder. It would be useful to clarify this, to help new users such as myself. It would also be useful to be able to browse to any folder on my website, because I wanted the video files in public_html/videos not public_html/img/cms/videos. Can someone recommend which video format and Type selection should work, on as many combinations of computer and browser as possible? I was also wondering about writing the HTML directly (using the HTML icon, rather than the Insert/Edit Media dialog). But then I had to start thinking about which version of HTML is used in Prestashop, because tags such as 'video' are HTML5 only. When I look at the generated HTML code, I see that the DOCTYPE is XHTML. Is there a setting to change the DOCTYPE to HTML5, so that tags such as 'video' can be used? Otherwise, should I be using the tag 'object' or 'embed'? Can someone post some HTML code for this? Is it ever necessary with Prestashop to upload the media player onto my site or are they supplied? I noticed that the Moxieplayer (which is supplied with TinyMCE) is sometimes used. I'm using Prestashop 1.4.8.2 on Windows XP with Internet Explorer 8. Link to comment Share on other sites More sharing options...
Recommended Posts