Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jPlayer does not ask for FLash Player permission if flash player is used #427

Open
MarvinKlar opened this issue Jul 16, 2020 · 0 comments
Open

Comments

@MarvinKlar
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant