Skip to content

Playlist won't work on mobile #617

Description

@kelsen

Hi,
I've setup the code below and I noticed that it works only on desktop, I mean the second video won't play on mobile, only desktop.

<video id="my-video" class="video-js vjs-9-16" width="auto" height="934px" data-setup='{ "controls": true, "autoplay": true, "loop": true, "preload": "auto", "techOrder": ["youtube"], "sources": [{ "type": "video/youtube", "src": "<?= 'https://www.youtube.com/embed/' . MyHelpers::extractYouTubeId($video->conteudo) ?>"}], "youtube": { "playlist": "<?= MyHelpers::extractYouTubeId($video->conteudo) ?>,2jThTOt0IYY"}}'>
          <p class="vjs-no-js">
            To view this video please enable JavaScript, and consider upgrading to a
            web browser that
            <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
          </p>
</video>

IOS 17.1.2
Chrome 120.0.6099.119

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