My Oracle Support Banner

Incorrect Time Displayed On Video Rendition Info Page (Doc ID 1275283.1)

Last updated on SEPTEMBER 23, 2021

Applies to:

Oracle WebCenter Content - Version 10.0 and later
Information in this document applies to any platform.

Symptoms

On : 10.1.3.4.0 version of Content Server, with Digital Image Manager (DAM) installed, certain videos have the wrong video length displayed, ie 37 seconds for a 9 minute 37 second long video.
The issue is related to the use of the parseInt function without specifying a radix (one of the parameters needed by the function) when calculating the time. It may in fact be an issue with javascript's implementation of the function.


If the video in question is 9 minutes 37 seconds long. It calculates the minute string as "09", and a string is passed with a 0 to parseInt without specifying a radix. The number should be parsed as octal. However, the number 9 does not exist in octal, so it fails and returns a 0. Passing a radix of 10 to the parseInt function at this point fixes the issue.
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Install DAM
2. Convert a 8 or 9 minute long video
3. Look at the video rendition info page.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.