videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.56k stars 7.4k forks source link

Wrong total duration with MPD file #8272

Open kumaavi opened 1 year ago

kumaavi commented 1 year ago

Description

Here is the below MPD fragment : <?xml version='1.0' encoding='utf-8'?>

The total duration as mentioned is 2H 5M 28S but the player shows a duration of 2h 13M 50S. Any ideas why this should be happening. I saw we are picking up the current duration of the HTML5 media element for displaying the duration. Where can I dig deeper?. ### Reduced test case https://zee5.com ### Steps to reproduce The Content is copyrighted & DRM protected. It is not possible to share a reproducible MPD file. ### Errors _No response_ ### What version of Video.js are you using? 7.18.1 ### Video.js plugins used. "videojs-contrib-eme": "3.10.1", "videojs-contrib-quality-levels": "^2.1.0", "videojs-http-source-selector": "1.1.6", "videojs-ima": "^1.11.0", "videojs-landscape-fullscreen": "^11.113.0", "videojs-sprite-thumbnails": "^0.6.0" ### What browser(s) including version(s) does this occur with? Chrome latest ### What OS(es) and version(s) does this occur with? OSX
welcome[bot] commented 1 year 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.