iptvnator icon indicating copy to clipboard operation
iptvnator copied to clipboard

Cannot open player (Xtream)

Open renatodeleao opened this issue 2 years ago • 0 comments

Describe the bug A syntax error is thrown when trying to open a player, no player is actually open.

To Reproduce Steps to reproduce the behaviour:

  1. You need to start fresh, clean all App storage from your browser
  2. Add your Xtream list
  3. Open your Xtream list
  4. Click one of the channels to open player 💥

Expected behaviour

  • To open the video player

Screenshots

Chrome Firefox
chrome firefox

Env:

  • Browser live version (https://iptvnator.vercel.app):
    • Chrome (Version 119.0.6045.159 (Official Build) (arm64))
    • Firefox (120.0 (64-bit)

Additional context

  • seems to be an issue with your openPlayer function not handling the fact that I might not have any settings() yet (first try)
  • this.settings() is undefined, so a syntax error is thrown

https://github.com/4gray/iptvnator/blob/93399946503c22bdf59ce04fe85d4d756c5ad461/src/app/xtream/xtream-main-container.component.ts#L283

renatodeleao avatar Nov 24 '23 11:11 renatodeleao