GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech Can't get video to autoplay in HTML5 banner. Help needed! (https://gfy.com/showthread.php?t=1324083)

ravo 03-06-2020 12:33 PM

Can't get video to autoplay in HTML5 banner. Help needed!
 
I've had a small HTML5 banner designed, that has an autoplay looping video in it. But the video will not play. My designer says that my server config will not allow embedded videos, but I checked and it does. Server techs also see no reason why it won't work.

I've removed the audio from the vid, but still no luck.

I'm stumped. Any suggestions? Thanks!

Colmike9 03-06-2020 01:29 PM

Does it not auto-play in all browsers?
Have you tried adding the "muted" attribute to <video>?

I have more things to check, but let's start here. :upsidedow

blackmonsters 03-06-2020 02:12 PM

Quote:

Originally Posted by ravo (Post 22620983)
I've had a small HTML5 banner designed, that has an autoplay looping video in it. But the video will not play. My designer says that my server config will not allow embedded videos, but I checked and it does. Server techs also see no reason why it won't work.

I've removed the audio from the vid, but still no luck.

I'm stumped. Any suggestions? Thanks!

Without showing us the code, we can only make wild guesses.

:2 cents:

Colmike9 03-06-2020 02:16 PM

Quote:

Originally Posted by blackmonsters (Post 22621038)
Without showing us the code, we can only make wild guesses.

:2 cents:

That's why I only guessed a couple things so far.. :upsidedow

ravo 03-07-2020 05:32 AM

Quote:

Originally Posted by Colmike7 (Post 22621002)
Does it not auto-play in all browsers?
Have you tried adding the "muted" attribute to <video>?

I have more things to check, but let's start here. :upsidedow

Thanks! That worked.

Colmike9 03-07-2020 08:01 AM

Quote:

Originally Posted by ravo (Post 22621376)
Thanks! That worked.

Nice! :thumbsup


All times are GMT -7. The time now is 12:39 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123