Flowplayer · Javascript setup (autoplay)

Flowplayer installed into an empty container via JavaScript only.

No dependency on jQuery.

<body/>

<div id="player" class="fixed-controls"></div>

HTML

<script>

flowplayer("#player", {
autoplay: true,
ratio: 5/12,
clip: {
sources: [
{ type: "application/x-mpegurl", src: "//edge.flowplayer.org/bauhaus.m3u8" },
{ type: "video/mp4", src: "//edge.flowplayer.org/bauhaus.mp4" }
],
title: "Javascript setup (autoplay)"
},
embed: {
skin: "//releases.flowplayer.org/6.0.5/skin/minimalist.css"
}
});

JavaScript