Home Forums Theone WordPress Theme Alternative video for mobile

This topic contains 5 replies, has 2 voices, and was last updated by  BWSM 6 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14586

    TrickiDicki
    Participant

    I currently have a static image set using the ‘Bg Image for Touch Devices’ setting. Is it possible to use a video instead of a static image? I would like to have an alternative video for mobile (lower res, shorter duration) than for the ‘main’ desktop video.
    Thanks

    #14587

    BWSM
    Keymaster

    Hi,

    I am not clear this the ‘Bg Image for Touch Devices’ setting what you mentioned, could you paste your page url?
    Thanks

    #14588

    TrickiDicki
    Participant
    #14596

    BWSM
    Keymaster

    It is not possible to show different video for mobile device.

    It is possible to show same video instead of static image.
    Please login wp-admin, go to Theone / General Settings / Custom Css
    Paste the style code to Custom Css:

    .touch .fullwrap-video video { display: block; }
    .fullwrap-video .video-cover {  display: none; }
    #14642

    TrickiDicki
    Participant

    Thanks for the suggestion. Now if I view the site using desktop Chrome in ‘Mobile device’ mode (ctrl-shift-m) I can see the video rolling as I want, but browsing from an ipad or iphone still shows the static image. Any further suggestions?
    Thanks

    #14650

    BWSM
    Keymaster

    Please try to add muted playsinline for video tag this file:
    /wp-content/themes/theone/functions/theme/plugins/ux-bmslider.php line 764
    It should be:
    <video loop autoplay muted playsinline poster="<?php echo $bmslider_video_image; ?>">

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.