Historical Playback H5 Page Instruction Manual#
This page provides the playback function of device historical videos. Users can query the list of all video files within a specified time range by specifying the device ID, channel ID, and time range, and select any file for playback.
III. Parameter Description| Parameter | Type | Required/Optional | Description |
|---|
| deviceId | String | Required | Device ID, uniquely identifying the device to be queried. |
| channelId | String | Required | Channel number, ranging from 1 to 16, specifying the video channel of the device. |
| startTime | String | Required | Start time, format YYYY-MM-DD HH:MM:SS, the starting point of the query time range. |
| endTime | String | Required | End time, format YYYY-MM-DD HH:MM:SS, the ending point of the query time range. |
| token | String | Required | Authentication token for verifying user permissions. Obtained by calling the createToken interface. |
1.
Access the Page
Enter the above address in the browser, ensuring the URL contains the correct deviceId, channelId, startTime, endTime, and token parameters.
2.
View Historical Video List
After the page loads, it will automatically query the historical video files based on the provided time range, and list all eligible video segments in the table below. Each segment shows the start time ~ end time (only hours, minutes, and seconds) and the channel number.
3.
Play Historical Video
Click the play icon (▶) to the right of any historical video segment in the list. The page will start playing that segment. The player area will display the video stream.
Ensure that the parameter values in the URL are correct, especially the time format which must strictly conform to YYYY-MM-DD HH:MM:SS (separated by a space).
The token is sensitive information. Please keep it secure and do not disclose it to others.
Loading the historical video list and starting playback may take some time; please be patient.
If playback fails or there is no historical video data, check whether the device is online and whether there are videos within the time range, or contact technical support.
Refer to the "How to Obtain Token" section in the original document. Generate the token by calling the createToken interface using the API key and API Secret from the Developer project.Modified at 2026-03-19 10:09:23