Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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?

    #1167894

    Hey lennartvdb,

    You might want to look in this file:
    /enfold/config-templatebuilder/avia-shortcodes/section.php

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1168136

    section.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.

    #1168287

    Hi lennartvdb,

    The other file to look at is this one
    /enfold/config-templatebuilder/avia-shortcodes/video/video.php

    Best regards,
    Victoria

    #1168917

    Thanks 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?

    #1169047

    Hi,
    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,
    Mike

    #1289263

    Hi,
    There are updates? videos with Safari don’t work ..
    Thanks.

    #1289344

    Hi,

    @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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Adding 'playsinline' to the background video tag’ is closed to new replies.