Shape 5

Joomla Templates => Hexa Corp - Club => : jambo90210 April 26, 2018, 07:51:48 AM



: Video Play size incorrect
: jambo90210 April 26, 2018, 07:51:48 AM
Hi Sorry don't understand why, but now migrating the site from the siteshaper into the existing site and the video is playing small and the size in general is wrong for the pre-load  image too..

Also noticed the

See

http://www.jafs.com.au/2/

and

http://www.jafs.com.au/3/

Well this is odd.. the Editor changes the HTML also..

here is what I have in the /3/ component

<div class="video_wrap" style="max-height: 980px; min-height: 550px; background: url('http://www.jafs.com.au/3/images/video_preload.jpg');"><video muted="" autoplay="autoplay" loop="loop" src="http://www.jafs.com.au/3/images/Puzzle.mp4"></video>
<div class="video_overlay"></div>
</div>

and then when I cut and paste this into the /2/ custom compoent and save it ends up like this.. not sure if that is related somehow ??  Also noticed the ionicons are missing.. same deal the tags are removed when saving..  Any ideas?   Note it added the Width and height tags ??

<div class="video_wrap" style="max-height: 980px; min-height: 550px; background: url('../3/images/video_preload.jpg');"><video src="../3/images/Puzzle.mp4" autoplay="autoplay" loop="loop" muted="" width="300" height="150"></video>
<div class="video_overlay"> </div>
</div>







thanks


Jamie


: Re: Video Play size incorrect
: mikek April 26, 2018, 11:06:53 AM
Hello,

The video player is going to be contained to whatever size you set the max and min heights to. You currently have it set to 980px in height, so it will cut off if the video is taller than that. I would recommend turning off your editor while you work on html code, they have a tendency to alter code. If you need any of the original code you can grab from here:

http://www.shape5.com/demo/hexa_corp/index.php/tutorials-menu-48/custom-code-for-this-design