Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #963218

    Hi,
    Just updated theme to 4.4. Checked a couple of customer websites and noticed that the video’s have resized (overflow over the right of the web page). After changing the size so they appear correctly, I have noticed there is now a download icon – How do I remove this icon please?

    Thanks
    Neil

    #963318

    Hi Neil,

    Can you try to use Video found in Avia Layout Builder > Media Elements? that should not show the download icon.
    Or if you want to use Text Block, switch it to Text mode and use this shortcode:

    [video width="800" height="500" mp4="http://link_to_your_video"][/video]

    then replace http://link_to_your_video with the right url of the video.
    Hope this helps :)

    Best regards,
    Nikko

    #963330

    Hi Nikko,
    I prefer to use the video element but it will not allow visitors to view full screen I am afraid.
    I used the text block as it does allow fullscreen viewing but it automatically displays the download icon now.
    I am using [video width="550" height="300" mp4="http://xxxxxx.uk.com/wp-content/uploads/Robot.mp4"][/video] already.
    I cannot find how I remove the download icon though.
    Thanks
    Neil

    #963506

    Hi Neil,

    I have tested the shortcode on my end and it removes the download icon.
    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #963640

    Hi Nikko,
    Login details below.
    Thank you for looking at this.
    regards
    Neil

    #964396

    Hi NeilJC,

    Thanks for giving us admin access.
    I see why the issue doesn’t appear on my end, since I have a video element loaded on the page where the shortcode is applied.
    Can you try to modify this code in functions.php (line 417-419):

    //load mediaelement js
    $condition  = !( isset($options['disable_mediaelement']) && $options['disable_mediaelement'] == "disable_mediaelement" ) && av_video_assets_required();
    $condition2 = ( version_compare( get_bloginfo( 'version' ), '4.9', '>=' ) ) && $condition;

    and replace it with:

    //load mediaelement js
    $condition  = true;
    $condition2 = true;

    Let us know if this helps.

    Best regards,
    Nikko

    #964405

    Hi Nikko,

    I will make the changes however, we have noticed that the same issue is on other customers websites as well, after updating to 4.4.
    I have opened a new thread for a different customer here: #963863)
    Do we have to change all sites as this will take us a long time?

    Thank you
    Neil

    #964429

    Hi Neil,

    Enfold 4.4 enables conditional loading of js and css which makes the site efficient using resources as needed.
    However on your case this doesn’t help since you need to use video element in ALB to load certain js and css files needed, the change in the code I suggested was just to make sure that the condition is always set to true thus it loads mediaelement js all the time.
    As for temporary fix, I could say you need to do this on each site that has the same scenario, but we’ll report this to Kriesi and our devs and hopefully this will be fixed in the next patch.

    Best regards,
    Nikko

    #964442

    Hi Nikko,

    We would be happy to update all customer websites and use the video element if there was an option for the visitor to view full screen.
    Perhaps this would be an easier feature request instead of creating a patch for the text field as described above?

    Thank you
    Neil

    #965316

    Hi Neil,

    Yes I agree. Also there’s another workaround which can also work without editing any files but would require you to add 2 elements, which is to create a section and hide it in all devices in Screen Options then drag a Video element inside it (no need to add any videos) and that should make it work. I hope this helps for the meantime.

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.