Open KyleMaas opened 7 months ago
I'm not even sure how this is possible, but setting breakpoints in the code, this entire function seems to not be running:
Sorry, wrong function. That one doesn't seem to be running, either, but this one is the more problematic one that's not running:
Nevermind. The compiled code is duplicated in two different places, and I was looking at the wrong one.
So it is running, and it's reaching this within Video.js:
But the problem seems to be that this happens before Video.js is finished initializing, so then this fires within Video.js:
Which, because of the first call and the fact that the Video.js frontend thought it was ready and it cleared the cache init time, the second call sets the seek position to the start.
Did you recompile the frontend and install it after applying this? This change does not include a compiled version - doing that results in too many merge conflicts.
Also, what browser did you try it in?
On December 25, 2023 2:51:27 AM EST, "Сергей Б." @.***> wrote:
I have the same problem. Unfortunately, your fix doesn't work for me.
-- Reply to this email directly or view it on GitHub: https://github.com/mediacms-io/mediacms/issues/926#issuecomment-1868830600 You are receiving this because you authored the thread.
Message ID: @.***>
Even with this modification, this feature not work... i am using firefox as client. The server is Ubuntu 22, with this version:
@segurancadecomputadores That version doesn't contain the fix. You would need to use the code from this branch:
https://github.com/KyleMaas/mediacms/tree/fix-timed-links
But it still will not work until you rebuild the frontend. To make it easy to merge back into the project without conflicts, that branch only contains the changes to the source code for the frontend but does not contain the built files. To test it out, you would need to go into the frontend
folder and npm build dist
IIRC and then copy the built files from frontend/dist
into static
. It's not designed for direct use but for merging into the main project so that everyone can use it, so trying it out is a little more involved.
Describe the issue See this discussion:
https://github.com/mediacms-io/mediacms/discussions/319
I've received user complaints and have tried this myself and confirm that it does not work. The UI elements for generating a timed link in the Share button work, but when you actually go to the link it doesn't work.
To Reproduce Steps to reproduce the issue:
Expected behavior This:
https://github.com/mediacms-io/mediacms/blob/main/docs/user_docs.md#using-timestamps-for-sharing
Environment (please complete the following information):