Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #393923

    publit
    Participant

    I’m trying to implement an image placeholder before the video load. The video-element does already have a poster-element:

    <video class="x-mejs" poster="http://publit.com/sv/wp-content/uploads/sites/2/2015/06/frontstill.png" preload="metadata" autoplay="" loop="" muted="" src="https://s3-eu-west-1.amazonaws.com/publit/media/Publit_August2015_720p_hq.mp4" style="width: 1940px; height: 1100px;"><source src="https://s3-eu-west-1.amazonaws.com/publit/media/Publit_August2015_720p_hq.mp4" type="video/mp4"></video>

    But no placeholder is shown.

    Visit: http://publit.com/sv

    #393980

    John Ezra
    Member

    Hi there,

    Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #394032

    publit
    Participant
    This reply has been marked as private.
    #394236

    Jade
    Moderator

    Hi there,

    You might want to use this code instead:

    <video controls class="x-mejs" poster="http://publit.com/sv/wp-content/uploads/sites/2/2015/06/frontstill.png" preload="metadata" loop="" muted="" src="https://s3-eu-west-1.amazonaws.com/publit/media/Publit_August2015_720p_hq.mp4" ><source src="https://s3-eu-west-1.amazonaws.com/publit/media/Publit_August2015_720p_hq.mp4" type="video/mp4"></video>

    Hope this helps.

    #394759

    publit
    Participant

    How can I change that? The background-video feature is built in the theme.

    #394768

    Nico
    Moderator

    Hi There,

    Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #398487

    publit
    Participant

    I would consider this a bug since the poster attribute works if isolated: http://codepen.io/anon/pen/yYJRqZ

    #398502

    John Ezra
    Member

    Hi there,

    Thanks for updating the thread and for your feedback. The example is using raw HTML Video, while we use only WordPress standard libraries which utilize mediaelementjs. We will forward this to our dev team and see if we can add this a feature request. However, I can’t promise implementation or a timeline at this point, however, we do listen to our users and we’re always trying to improve. When we see something beneficial we do our best to make it happen. We’re actually working on a number of things so if this does get added to the pipeline, we’ll be sure to announce it when it’s ready. Thanks for understanding! Have a great day!