jPlayer
jPlayer copied to clipboard
jPlayer does not ask for FLash Player permission if flash player is used
I used the jplayer like shown in the following example:
<html><head>
<link type="text/css" href="blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" />
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="jquery.jplayer.min.js"></script>
</head><body>
<!-- default theme html code from documentation -->
<script type="text/javascript">
$("#jquery_jplayer_video").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
m4v: "test.flv"
});
},
cssSelectorAncestor: "#player_container_video",
swfPath: "/test/",
supplied: "m4v",
solution: "flash"
}).jPlayer("play");
</script>
</body></html>
When using jPlayer like this, the jPlayer doesn't ask for the flash player permission to play flash videos, which results in a black screen. When I access the file jquery.jplayer.swf manually, I can clikc on the page to request the permission and play the video when reloading the other page. Does anyone have a similar behavior with this or am I missing someting?