-
AuthorPosts
-
September 17, 2015 at 8:14 am #393923
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
September 17, 2015 at 9:31 am #393980Hi 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 / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 17, 2015 at 10:16 am #394032This reply has been marked as private.September 17, 2015 at 2:43 pm #394236Hi 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.
September 18, 2015 at 2:56 am #394759How can I change that? The background-video feature is built in the theme.
September 18, 2015 at 3:21 am #394768Hi 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.
September 22, 2015 at 4:19 am #398487I would consider this a bug since the poster attribute works if isolated: http://codepen.io/anon/pen/yYJRqZ
September 22, 2015 at 4:38 am #398502Hi 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!
-
AuthorPosts