HTML5 Video Player Template

A FLV-player template was included in the past, which will be removed with WP-Filebase 3.2.13 and higher. The HTML5 video tag offers a better support among all mobile devices.

The template system provided by WP-Filebase makes it easy to integrate. Here’s the template code that works in any WP-Filebase (pro or free) version:


<video width='%file_info/video/resolution_x%' height='%file_info/video/resolution_y%' controls>
<source src='%file_url%' type='%file_type%'>
Your browser does not support the video tag. <a href='%file_url%'>Open Video directly</a>.
</video>

If ID3 scanning is disabled, you should remove the width and height attributes from the video tag. The browser will find the video size automatically.

Note that file page proxy must be disabled, if you want to use the player outside the filepage template.

For reference of the video tag see http://www.w3schools.com/html/html5_video.asp.

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
HTML5 Video Player Template, 5.0 out of 5 based on 1 rating

One thought on “HTML5 Video Player Template

  1. Ashwin kumar says:
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

    Wow! Really this one is a very good informational post and i am using this to learn https://computernamewindows10.com/ how to change my windows 10 OS computer name. I am following this because i heard that this has real and valuable info that will definitely helps me a lot.

Leave a Reply to Ashwin kumar Cancel reply

Your email address will not be published.