videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.53k stars 425 forks source link

Overrided VHS configuration fires 'ended' event on live in Safari. #1483

Open lipatnikovka opened 9 months ago

lipatnikovka commented 9 months ago

Description

Overrided VHS configuration fires 'ended' event on live in Safari. I suppose HTML media element fires 'ended' event due to http-steaming seeks to the latest media position if this is a live video.

Sources

https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Go to https://videojs-http-streaming.netlify.app/
  2. Paste the given URL as a source URL and load the player.
  3. Click big play button
  4. You can see the video is not playing.

Results

Expected

Please describe what you expected to happen that did not happen in the description. Video is playing

Error output

If there are any errors in the console, from the player, or anywhere else please include them here: No errors

Additional Information

Please include any additional information necessary here. Including the following:

videojs-http-streaming version

what version of videojs-http-streaming does this occur with? videojs-http-streaming 3.11.0

videojs version

what version of videojs does this occur with? video.js 8.11.0

Browsers

what browsers are affected? please include browser and version for each Safari 17.1 Only Safari

Platforms

what platforms are affected? please include operating system and version or device and version for each MacOS Sonoma 14.1

Other Plugins

are any other videojs plugins being used on the page? If so, please list them with version below. None

Other JavaScript

are you using any other javascript libraries or frameworks on the page? if so please list them below. None

welcome[bot] commented 9 months ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.