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

html api multiple #2

Open
bahramzade opened this issue Feb 12, 2022 · 1 comment
Open

html api multiple #2

bahramzade opened this issue Feb 12, 2022 · 1 comment

Comments

@bahramzade
Copy link

Hello how to use multiple source in html?

https://cinemaplayer.github.io/example/api-trailer.html => https://cinemaplayer.github.io/example/api-html.html

@vcosmos
Copy link

vcosmos commented Feb 21, 2022

    <div
            id="cinemaplayer"

            data-api-tabs="trailers"

            data-api-tab-trailers-selectors="t"

            data-api-tab-trailers-selector-t-options="en es ru it"

            data-api-tab-trailers-selector-t-option-en-name="English"
            data-api-tab-trailers-selector-t-option-en-action="LcDQqGJG8pA"
            data-api-tab-trailers-selector-t-option-en-type="youtube"

            data-api-tab-trailers-selector-t-option-es-name="Español"
            data-api-tab-trailers-selector-t-option-es-thumbnail="https://img.youtube.com/vi/UzQGVBMkNaI/maxresdefault.jpg"
            data-api-tab-trailers-selector-t-option-es-action="https://www.youtube.com/embed/UzQGVBMkNaI?autoplay=1&rel=0"
            data-api-tab-trailers-selector-t-option-es-type="iframe"

            data-api-tab-trailers-selector-t-option-ru-name="Русский"
            data-api-tab-trailers-selector-t-option-ru-action="r5EOmNXGUCY"
            data-api-tab-trailers-selector-t-option-ru-type="youtube"

            data-api-tab-trailers-selector-t-option-it-name="Italiano"
            data-api-tab-trailers-selector-t-option-it-action="pqv-xSLRvFo"
            data-api-tab-trailers-selector-t-option-it-type="youtube"
    ></div>
    <script src="https://CinemaPlayer.github.io/cinemaplayer.js"></script>

https://gxxqhm.csb.app/

https://codesandbox.io/s/eloquent-hertz-gxxqhm?file=/index.html

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

2 participants