123456789101112131415161718192021222324252627282930313233343536373839 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- </head>
- <body>
- <script>
- var baseUrl = window.top.baseUrl;
- window.onmessage = function (event) {
- console.log(JSON.stringify(event.data))
- //初始化视频会议控件
- var temp_form = document.createElement("form");
- temp_form.action = baseUrl + "chat";
- temp_form.method = "post";
- temp_form.style.display = "none";
- var parames = new Array();
- parames.push({ name: "creater", value: event.data.masterid });
- parames.push({ name: "userid", value: event.data.touserid });
- parames.push({ name: "username", value: event.data.tousername });
- parames.push({ name: "room", value: event.data.meetingid });
- parames.push({ name: "title", value: event.data.title });
- parames.push({ name: "pdf", value: event.data.pdf });
- parames.push({ name: "uploadUrl", value: event.data.uploadUrl })
- parames.push({ name: "AccessToken", value: event.data.AccessToken });
- parames.push({ name: "routeinfoid", value: event.data.routeinfoid });
- for (var x in parames) {
- var opt = document.createElement("textarea");
- opt.name = parames[x].name;
- opt.value = parames[x].value;
- temp_form.appendChild(opt);
- }
- document.body.appendChild(temp_form);
- temp_form.submit();
- }
- </script>
- </body>
- </html>
|