Skip to content
This repository was archived by the owner on Sep 28, 2025. It is now read-only.
This repository was archived by the owner on Sep 28, 2025. It is now read-only.

How to add Video level 720p, 480p as well as ads code into Clappr player? #100

@Salluman

Description

@Salluman

Hi there,

I am new here. I don't have much knowledge about coding. I want to know how to add video level 720P, 480P, 1080P into the HTML code of Clappr. Here is the code that I am currently using into my WP:

<script type="text/javascript" src="https://cdn.jsdelivr.net/clappr.level-selector/latest/level-selector.min.js"></script>
<script> player = new Clappr.Player({ source: "My Video URL", mimeType: "application/x-mpegURL", autoPlay: true, height: "100%", width: "100%", plugins: {"core": [LevelSelector]}, parentId: "#vid"}); </script>

Also, please let me know how can I place ads code into the player.

Any reply will be highly appreciated.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions