Enable Video Seeking

Last update:2025-05-28 15:17:10

When watching videos, users typically want to view only the highlights or resume playback from where they last paused. Most video websites improve user experience by allowing users to seek any position via the video player interface. To meet this requirement, CDNetworks provides the video seeking feature, enabling users to seek any desired start position by dragging the player progress bar without restarting the video from the beginning.

Configuring the Video Seeking Feature

  1. Log in to the CDNetworks Console and select the product line associated with your Domain.
  2. Select the target Domain and click Edit Configuration.
  3. In the self-service configuration interface, select Video Features.
  4. Go to the video Dragging and click Modify.
  5. Configure relevant parameters on the page.

[ Product Maintenance ] Cloud Security Product Maintenance Announcement

Video Seeking Parameters

Parameter Description
File Type Supports FLV and MP4 formats, including:
- ALL: Supports both MP4 and FLV files.
> Note: The file suffix does not need to match the actual format; for example, H.264-encoded FLV or MP4 files with f4v or m4v suffixes are also supported for seeking.
- MP4: Only MP4 files are supported, and the file suffix must match the format.
- FLV: Only FLV files are supported, and the file suffix must match the format.
MP4 Dragging Mode/FLV Dragging Mode The seeking methods include:
- Time-based seeking: Seek by time offset.
- Byte-based seeking: Seek by byte offset.
Regardless of the method, the video file must contain keyframes. For MP4 files, time-based seeking is recommended. For FLV files, byte-based seeking is recommended.
Dragging start identifier The character in the URL that indicates the start position for seeking, with a default value of start.
> Note: The marker must be placed after the question mark in the URL.
Dragging end identifier The character in the URL that indicates the end position for seeking, with a default value of end.
> Note: The marker must be placed after the question mark in the URL.
Processing of range requests Configures whether the seeking feature is enabled when the request header contains a range parameter.
- Ignore seeking: If the request header has a range parameter, the seeking feature is disabled.
- Ignore Range: Ignore the range parameter and return the file specified for seeking.
  1. After completing the configuration, click Confirm, then click Next.
  2. It is recommended to conduct a pre-deploy test first. Click Pre-deploy to avoid affecting online services.
  3. After a successful pre-deploy, you can obtain test nodes and perform testing via the host node.
  4. Once host testing is confirmed to be correct, click Deploy. Deployment typically takes 3–5 minutes.

Note: After the configuration takes effect, please verify that the video seek functionality is available in your actual business scenario.

Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!