Tagged: background video
-
AuthorPosts
-
December 18, 2019 at 12:57 pm #1167253
I would like to add ‘playsinline’ to the background video tag for a section.
Which PHP / JS files will I need to edit to make this happen?December 19, 2019 at 8:08 pm #1167894Hey lennartvdb,
You might want to look in this file:
/enfold/config-templatebuilder/avia-shortcodes/section.phpIf you need further assistance please let us know.
Best regards,
VictoriaDecember 20, 2019 at 2:42 pm #1168136section.php seems to be referencing an av_slideshow shortcode.
Where is the video element actually being created?By the way, the reason im trying to add playsinline is to stop the video controls from showing up in Safari.
Video controls are also briefly showing up in Chrome.
Line 1104 of section.php says: ‘video_controls’ => ‘disabled’,
Controls is a boolean so shouldn’t this say ‘false’?Thanks.
December 20, 2019 at 7:41 pm #1168287Hi lennartvdb,
The other file to look at is this one
/enfold/config-templatebuilder/avia-shortcodes/video/video.phpBest regards,
VictoriaDecember 24, 2019 at 12:06 pm #1168917Thanks for the reply.
I can’t quite figure what to edit though.Chrome and Safari are showing controls for background videos.
Is there a way to hide this or will this be implemented in a future release?December 28, 2019 at 11:55 am #1169047Hi,
Sorry for the late reply, I believe this has been addressed in the our latest version that is coming out after the new year.Best regards,
MikeMarch 19, 2021 at 8:04 pm #1289263Hi,
There are updates? videos with Safari don’t work ..
Thanks.March 20, 2021 at 2:52 pm #1289344Hi,
@ecomstore sorry but this thread is about adding ‘playsinline’ to the background video tag for a section from 2019, if you are having issues with Safari and videos then please open a new thread but note that Safari 12.1 had a known issue that seems to have been corrected with Safari 13.1+
The current version of Safari is 14.0.2 and the videos seem to work fine?Best regards,
Mike -
AuthorPosts
- The topic ‘Adding 'playsinline' to the background video tag’ is closed to new replies.
