Videos in accordion
-
Hi there.
Video embed in accordions is not working properly for me.
I have been using the following code
[video height="300" mp4="url.mp4"][/video]When it displays the video, it disregards the height or width setting (which works normally on any other page) and expands the video to fill the accordion. If you shrink the window of the web browser to not full screen, the video appears at the proper size and then if you expand the browser to full screen, it remains the proper size, but I want it to be the set size at the start (otherwise the video overpowers the whole accordion box, plus on a PC it makes the video pixelated as it is displaying it several times the actual resolution size).
Using iframes, I can get the video to be the size I want, but it is then not responsive and with the controls, you cannot make the video full screen if you wanted to.
If you try to “Add Media” via the url function using the WYSIWYG editor, it puts code for [embed]video url[/embed] in the accordion, but it doesn’t work (doesn’t display anything). The same process / code placed on a page works fine.
Any suggestions?
- The topic ‘Videos in accordion’ is closed to new replies.