You can also use the the Fluid Player plugin for WordPress (
https://wordpress.org/plugins/fluid-player/) and use these shortcodes:
Simple shortcode example:
Code:
[fluid-player video="foo.mp4" vast_file="vast.xml" vtt_file="thumbs.vtt" vtt_sprite="thumbs.jpg" layout="default"]
Extended shortcode example:
Code:
[fluid-player-extended
vast_file="vast.xml"
layout="default"
auto-play="autoPlay"
allow-download="true"
playback-speed-control="true"
logo="https://www.fluidplayer.com/images/yourlogo.png"
logo-position="top right"
logo-opacity=".8"
logo-hyperlink="https://www.fluidplayer.com/"
ad-text="adText"
ad-cta-text="adCTAText"
html-on-pause-block-width="100"
html-on-pause-block-height="100"
responsive="true"]
[fluid-player-multi-res-video]
[
{"label": "720", "url": "https://cdn.fluidplayer.com/videos/1.3/fluidplayer_720.mp4"},
{"label": "480", "url": "https://cdn.fluidplayer.com/videos/1.3/fluidplayer_480.mp4"}
]
[/fluid-player-multi-res-video]
[fluid-player-html-block]
<div>
<img src="https://www.fluidplayer.com/images/yourbanner.png" />
</div>
[/fluid-player-html-block]
[/fluid-player-extended]