Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Show duration of the videos in Show Content Sidebar #1487

Open
navdeep-rajpurohit opened this issue Oct 17, 2024 · 8 comments · May be fixed by #1488
Open

feature: Show duration of the videos in Show Content Sidebar #1487

navdeep-rajpurohit opened this issue Oct 17, 2024 · 8 comments · May be fixed by #1488
Labels
enhancement New feature or request

Comments

@navdeep-rajpurohit
Copy link

navdeep-rajpurohit commented Oct 17, 2024

Is your feature request related to a problem? Please describe.
It would be great if we add video duration to the sidebar which helps to directly check the duration without opening the specific video.

Describe the solution you'd like
We can use existing params content.VideoMetadata.duration or content.videoProgress.VideoFullDuration to display the video duration

Additional context
Getting null for both the params. Please suggest something if we can get the video duration.
Screenshot 2024-10-17 at 3 03 49 PM
Screenshot 2024-10-17 at 3 04 54 PM

@navdeep-rajpurohit navdeep-rajpurohit added the enhancement New feature or request label Oct 17, 2024
@rameshchoyal
Copy link

Can you assign this issue to me?

@navdeep-rajpurohit
Copy link
Author

Can you assign this issue to me?

Working on it

@Sahil873
Copy link

Is anyone working on this issue

@navdeep-rajpurohit
Copy link
Author

Is anyone working on this issue

Yes I'm on it

@Sahil873
Copy link

The issue can be resolved by converting the VideoMetaData.duration to the required format (x hr y min) and adding it to the sidebar.

@navdeep-rajpurohit
Copy link
Author

The issue can be resolved by converting the VideoMetaData.duration to the required format (x hr y min) and adding it to the sidebar.

@devsargam Any suggestion on getting null values ??

@Sahil873
Copy link

by running the prisma migrations the VideoMetaData table has duration set to null. In the production db it would have the videos duration.
@devsargam guide me about this.

@navdeep-rajpurohit
Copy link
Author

Got it, thank you. Will raise PR

@Sahil873 Sahil873 linked a pull request Oct 17, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants