##### Explanation This working mode is similar to the HTTP mode, which requires generating price tag images as needed, and generating JSON files (with JS as the extension) for the playback configuration of images and videos. Then upload the images, videos (multiple are allowed), and js(json) files to the electronic price tag separately. Finally, send a [Configure playback tasks](./Configure%20playback%20tasks.md) request. --- ##### Example of JS(json) configuration file ```json { "Id": "2C0547E35BA5", "ItemCode": "2C0547E35BA5", "ItemName": "2C0547E35BA5", "LabelPicture": { "Height": 640, "Width": 800, "X": 0, "Y": 640, "PictureName": "2C0547E35BA5.jpg", "PicturePath": "files/task/2C0547E35BA5.jpg", "PictureMD5": "cf1a6bbdec30a1926f207d67b2fc4865" }, "LabelVideo": { "Height": 640, "Width": 800, "X": 0, "Y": 0, "VideoList": [{ "VideoNo": 1, "VideoName": "2C0547E35BA5_0.mp4", "VideoPath": "files/task/2C0547E35BA5_0.mp4", "VideoMD5": "41c0727e6817646042fc3a18667cf6fc" }] } } ``` ###### Field Description | Parameter Name | Type | Description | | --- | --- | --- | | `Id` | string | Sequence Number | | `ItemCode` | string | Price tag code | | `ItemName` | string | Price tag name | | `LabelPicture` | json | Image Content | | `LabelVideo` | json | Video Content | ###### LabelPicture field | Parameter Name | Type | Description | | --- | --- | --- | | `X` | int | abscissa | | `Y` | int | ordinate | | `Width` | int | Width | | `Height` | int | Height | | `PictureUrl` | string | Image file address | | `PictureMD5` | string | Image file MD5 value | | `PictureName` | string | Image file name | ###### LabelVideo field | Parameter Name | Type | Description | | --- | --- | --- | | `X` | int | abscissa | | `Y` | int | ordinate | | `Width` | int | Width | | `Height` | int | Height | | `VideoList` | jsonarray | Video resource list | ###### VideoList field | Parameter Name | Type | Description | | --- | --- | --- | | `VideoNo` | int | Number | | `VideoUrl` | string | Video file address | | `VideoMD5` | string | Video file MD5 value | | `VideoName` | string | Video file name |