name: Player bug
description: This is an issue with the Poke video player
title: "[Bug]: "
labels: ["player-bug"]
body:
  - type: markdown
    attributes:
      value: |
        > [!CAUTION]
        > If your issue matches **all of** the 3 points below:
        > * JavaScript is disabled;
        > * AND playback is high-resolution;
        > * AND audio isn't working;
        >
        > **DO NOT open an issue.** Hi-res audio will not work without JavaScript enabled.
  - type: markdown
    attributes:
      value: |
        > [!CAUTION]
        > Your bug might be a Video.js bug, the player Poke uses.
        > 
        > Look through [Video.js issues](https://github.com/videojs/video.js/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Abug) to see if the issue is actually with Poke, or if this is just a Video.js issue out of our control. DO NOT open an issue here if the latter applies.
  - type: textarea
    id: describe
    attributes:
      label: Describe the issue
      placeholder: In detail, what happened?
    validations:
      required: true
  - type: dropdown
    id: js
    attributes:
      label: JavaScript and resolution
      description: Choose one of the 4 options below.
      options:
        - JS enabled, high res
        - JS enabled, low res
        - JS disabled, high res
        - JS disabled, low res
    validations:
      required: true
  - type: input
    id: browser
    attributes:
      label: What browser and OS are you using?
      description: eg. Chrome on Windows 10, Firefox on Fedora 40
    validations:
      required: true
  - type: textarea
    id: logs
    render: true
    attributes:
      render: true
      label: Error logs
      placeholder: If any, are there error logs in your browser console?