HTML page
Hi
How can I create a simple index.html page on brizy cloud?
I need to insert this code in that page:
<script>
var script = document.createElement("script");
script.type = "text/javascript";
script.addEventListener("load", function (event) {
const config = {
name: "Demo",
meetingId: "Testing",
apiKey: "b5d51905-2467-4365-8ed1-e04e3e01579f",
containerId: null,
micEnabled: true,
webcamEnabled: true,
participantCanToggleSelfWebcam: true,
participantCanToggleSelfMic: true,
chatEnabled: true,
screenShareEnabled: true,
/*
Other Feature Properties
*/
};
const meeting = new VideoSDKMeeting();
meeting.init(config);
});
script.src =
"https://sdk.videosdk.live/rtc-js-prebuilt/0.1.29/rtc-js-prebuilt.js";
document.getElementsByTagName("head")[0].appendChild(script);
</script>
Thank you
Carlos
-
Hi,
you can't create an index.html page on Brizy Cloud but you can add this code to a Cloud page using the embed element: https://youtu.be/i2dqikDdvQc
0 -
Hi Alex That code has to be placed where analytics code goes, so I did this. I have created a blank page nothing on it, on the settings section, code section, I placed that code and looks like is working well, but I do not know if that is the right thing to do. This is the page: https://plum9487364.brizy.site/
0 -
Hi,
If the code needs to be added in the header (Google analytics code is usually added there) then you need the code injection option: https://youtu.be/hVxkGrKZgjc
0
Please sign in to leave a comment.
Comments
3 comments