ParentNode: document.querySelector('#sleek-jitsi-meeting'),Īdd more customization to the jitsi meeting by overriding the options in config.js and interface_config.js files. Height: 500, // height of the meeting iframe Width: 700, // width of the meeting iframe Add user display name in the Jitsi Meeting options. Use this generated user display name in the Jitsi meeting for the user. $display_name = 'Guest '.date('mYdhis',time()) display_name // Get current user display name Jitsi Meet is a fully encrypted, 100 Open Source videoconferencing solution that you can use all day, every day, for free with no account needed. If the user is not logged in then generate a random guest user display name. Jitsi is a set of Open Source projects that allows you to easily build and deploy secure videoconferencing solutions. Generate user display name for the meeting from the WordPress user account. Event when user video conference joinedĪpi.addListener('videoConferenceJoined', function(event)) Step 3: Customize the jitsi meeting with more options from iFrame API We can change that display name into a friendly one using the following command. We can see in the above example the room name is Sample Page ID 2. Jitsi meeting output in the Sample page Beautifying room name Also, in the case where you would like to check your local view a bit. The rest of the screen is free for your video feed. To begin with, your interface looks like this: During your 1:1 calls, we are now only showing one thumbnail: your local camera view. ParentNode: document.querySelector('#sleek-jitsi-meeting')Ĭonst api = new JitsiMeetExternalAPI(domain, options) Īt this point we can go test the shortcode by using it in any of the pages as shown in the following screenshot. Well, friends, we have heard you In our new video version, this is changing completely. post_title." - ID".$post->ID) Ĭonst domain = '' // Domain from where the meeting will be loaded To generate unique jitsi meeting room, we will use the current post/page ID along with the post/page title. We will generate unique jitsi meeting for each page or post where the shortcode is used. Step 2: Write code to display jitsi video rooms on pages based on page/post ID Īfter saving the above code, you can see the plugin showing in the wp-admin as shown in the following screenshot. Put the following code in the sleek-jitsi-iframe.php file as shown in the above screenshot. Use the following code to create the plugin and shortcode function. For a comprehensive description of all Jitsi Meet's security aspects, please check this link. All the Jitsi Meet documentation is available in the handbook. Full path of the plugin will be /wp-content/plugins/sleek-jitsi-iframe/sleek-jitsi-iframe.php With Jitsi as a Service we now give you all the power of Jitsi running on our global platform so you can focus on building secure and branded video experiences.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |