I am currently using flowplayer to stream videos in my application.I want to use swf because JS is not an option in my application.JS is striped by default for privacy reasons
Here is how i do it with flowplayer
<object id="flowplayer" width="640" height="360" data="/flowplayer-3.2.18.swf" type="application/x-shockwave-flash">
<param name="allowfullscreen" value="true" />
<param name="wmode" value="transparent" />
<param name="flashvars" value='config={"clip":"URL goes here", "plugins": {"controls": {"autoHide" : false} }}' />
My reason for the switch is because i want to use the HD toggle feature that JwPlayer provides.I couldn't find any swf equivalent for the JS below on JWPlayer site
<script>
jwplayer("myElement").setup({
image: "/uploads/myPoster.jpg",
sources: [{
file: "/uploads/myVideo360.mp4"
},{
file: "/uploads/myVideo720mp4"
}]
});
</script>
How can i convert the flowplayer embed code to JWplayer with HD toggle feature.I tried different implementation using thejwplayer.flash.swf
but none seems to working
JW Player 6 can be embedded only using Javascript. There is no implementation of it that can be done with the SWF file by itself.