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

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

Open
Salluman opened this issue Jan 22, 2021 · 0 comments
Open

Comments

@Salluman
Copy link

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.

@Salluman Salluman changed the title How to add Video level 720p, 480 etc as well as ads code into Clappr player? How to add Video level 720p, 480p as well as ads code into Clappr player? Jan 22, 2021
@Salluman Salluman reopened this Jan 28, 2021
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