html5 video and youtube incrusted videos is a big problem on IOS devices

5 replies · opened Dec 9, 2019

FfcordiviolaDec 9, 2019

Hello Sr, can you help me to create a correct html code for embed youtube or self-hosted html5 videos, that doesnt scale correctly on IOS!

Here my code:

<div div="section">
<div class="row d-flex justify-content-center ml-3 mr-3 pt-5">
<div class="col-12 col-lg-7 d-flex justify-content-center">
<video poster="images/videos/explore-poster.jpg" preload="auto" controls style="display: block; width: 100%;">
<source src='images/videos/institucional.webm' type='video/webm' />
<source src='images/videos/institucional.mp4' type='video/mp4' />
</video>
</div>
</div>
</div>

this code works perfect on chrome and firefox, i already tried to put height:auto and nothing. f#"$ IOS.

thank you sr

SSemicolon WebSTAFFDec 11, 2019

Hello,

Apologies about the Inconveniences caused!

As we unfortunately cannot check Codes locally, can you please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

FfcordiviolaDec 11, 2019

Thanks for quick response. The site is: http://vps.gruporeceptoria.com.ar/~barbarella/index3.html

the self-hosted html5 video from the top works super fine on chrome and firefox, but ios shows extreme white top and bottom bars, with no sense.

please, check on ios mobile to see that.

thanks!!!

SSemicolon WebSTAFFDec 12, 2019

Hello,

Thanks for your Patience!

We have checked this out as you have suggested, and the issue is with the use of the Bootstrap Grid. You will need to use the extra Responsive Embeds Utility: https://getbootstrap.com/docs/4.3/utilities/embed/ to make your Videos and Embeds responsive. Consider using the following code:


	
		
			
				
						
						
				
			
		
	

This should definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

FfcordiviolaDec 12, 2019

You save my life!!! Works perfect!!! Thank you, God bless you!

SSemicolon WebSTAFFDec 15, 2019

Hello,

Really Glad that your issues were resolved. Very Happy to Help! :)

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard