Skip to content

Your browser does not support the playback of this video #105

@ctaity

Description

@ctaity

hi, i getting error on osx crome with flash installed:

Your browser does not support the playback of this video . Please try using a different browser.

And i checked "" with VLC and open okay.

This is my code:

`

<style> body, html { overflow: hidden; margin: 0; padding: 0 }
</style>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/clappr/clappr@latest/dist/clappr.min.js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/video-dev/clappr-rtmp-plugin@latest/dist/rtmp.min.js"></script>
<!-- <script defer type="text/javascript"
    src="https://cdn-vod.tvpublica.com.ar/player-assets-c/dist/libs-dev-min.js?v=1.0.3"></script>-->

<script>
    var data = <%- JSON.stringify(data) %>;
    window.onload = function () {
        var player = new Clappr.Player({
            source: "",
            parentId: "#player",
            plugins: { 'playback': [RTMP] },
            rtmpConfig: {
                swfPath: 'dist/assets/RTMP.swf',
                scaling: 'stretch',
                playbackType: 'live',
                bufferTime: 1,
                startLevel: 0,
                switchRules: {
                    "SufficientBandwidthRule": {
                        "bandwidthSafetyMultiple": 1.15,
                        "minDroppedFps": 2
                    },
                    "InsufficientBufferRule": {
                        "minBufferLength": 2
                    },
                    "DroppedFramesRule": {
                        "downSwitchByOne": 10,
                        "downSwitchByTwo": 20,
                        "downSwitchToZero": 24
                    },
                    "InsufficientBandwidthRule": {
                        "bitrateMultiplier": 1.15
                    }
                }
            },
        });
    }
</script>
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions