userid
) information.token
information.classid
) information.scene
, debugjs
, and debugcss
are optional parameters, which are only needed when defining the UI. See Custom UI Integration for details. debugjs
and debugcss
are used only for the debugging of customized layouts and components, and only accessed via localhost
or 127.0.0.1
. Do not use these parameters in the release stage.lng
, location
, and layout
are also optional parameters. You can determine whether to enter these parameters based on actual business needs. If not, they will use the default values. The layout
parameter is only effective when the classroom layout is set to video plus document layout (videodoc
).Field | Type | Meaning | Remarks | Mandatory | |
userid | String | Username | Yes | | |
classid | String | Classroom ID | Yes | | |
token | String | Backend authentication parameters | Yes | | |
version | String | Version number of the classroom | The corresponding version can be selected from the release logs. Note: For the interactive classroom client version, 'latest' is recommended. | Yes | |
scene | String | Scene name | It is used to distinguish different custom layouts. It is configured through the SetAppCustomContent interface, and set to default by default. | No | |
debugjs | String | JS link of the custom defined UI | It is obtained through the custom defined UI integration. | No | |
debugcss | String | CSS link of the custom defined UI | It is obtained through the custom defined UI integration. | No | |
role | String | Role for entering the classroom, which is empty by default | Optional parameter supervisor (patrolling/content review). Only registered users in the application have the authority. | No | |
lng | String | Language parameter, which is zh-CN by default | Currently zh-CN and en-US are supported. | No | |
location | Boolean | Whether to report geographical location information | It is set to false by default, indicating no reporting. | No | |
layout | String | Page layout | It is set to top layout (top) by default. Currently, this parameter is only effective for video document pattern. It supports double row layout (double), right layout (right), left layout (left), and three-part layout (three) | No | |
boardColor | String | Whiteboard color | It is used to set the whiteboard color. It is set to #182E25 by default. It supports Hex format and rgba(0, 0, 0, .3) setting. | No | |
back_url | String | Exit Classroom Callback Address | It is empty by default. It is the page address that needs to be bounced back when clicking return or exiting the classroom. The parameter needs to be encoded using encodeURIComponent | No | |
https://class.qcloudclass.com/latest/class.html?userid=12345&token=yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODAwNzQwMjEsImlhdCI6MTY3OTQ2OTIyMSwiaXNzIjoibFpNQ2tvTjNkSGlnVmhhcXJkdFc0cU9JYWpleVh2RWwiLCJzY2hvb2xfaWQiOjM5MjMxOTMsInVzZXJfaWQiOiIyTG9XREU2aHhzOUNCNVhCczZHT1BnVXpweUgifQ.2wzh6eUC4llbbGhchGDOYbDrsdSdymfP3zjLLPjnOII&classid=368507569
userid
in the appended URL matches the teacher's ID ( teacherid
) specified in the create classroom, the current user is a teacher. If it matches the current classroom's assistant's ID (assistantid
), the user is an assistant. Otherwise, the user is a student.debugjs
and debugcss
to the link above (these parameters are only used for debugging) as shown below:https://class.qcloudclass.com/latest/class.html?userid=12345&token=yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODAwNzQwMjEsImlhdCI6MTY3OTQ2OTIyMSwiaXNzIjoibFpNQ2tvTjNkSGlnVmhhcXJkdFc0cU9JYWpleVh2RWwiLCJzY2hvb2xfaWQiOjM5MjMxOTMsInVzZXJfaWQiOiIyTG9XREU2aHhzOUNCNVhCczZHT1BnVXpweUgifQ.2wzh6eUC4llbbGhchGDOYbDrsdSdymfP3zjLLPjnOII&classid=368507569&debugjs=%!s(<nil>)&debugcss=%!s(<nil>)
scene
parameter to the URL to load the layout and components of the corresponding scene. When dealing with various types of classes and various layouts, you can switch scenes with this parameter on the business side, as shown below:http://class.qcloudclass.com/latest/class.html?userid=12345&token=yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODAwNzQwMjEsImlhdCI6MTY3OTQ2OTIyMSwiaXNzIjoibFpNQ2tvTjNkSGlnVmhhcXJkdFc0cU9JYWpleVh2RWwiLCJzY2hvb2xfaWQiOjM5MjMxOTMsInVzZXJfaWQiOiIyTG9XREU2aHhzOUNCNVhCczZHT1BnVXpweUgifQ.2wzh6eUC4llbbGhchGDOYbDrsdSdymfP3zjLLPjnOII&classid=368507569&scene=default
Was this page helpful?