Is it context aware

Created on 20 October 2024, 26 days ago

Problem/Motivation

Is it similar to private messages in terms of context?

For example, if i place the jitsi meeting button on user profile, when someone, who has access, clicks the meeting button, does it automatically opens a meeting with that user?

Hope you understand what I am trying to say. Let me know if you need me to clarify.

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡΅πŸ‡°Pakistan ugintl

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ugintl
  • πŸ‡ΈπŸ‡¬Singapore adominique

    Yes, as long as you restrict the button for new video to logged-in user, the call is aware of that user info.
    These are the data that are pass to the video window, which include user name, email and picture:

    $content = [
    '#theme' => 'jitsi_video_page',
    '#room' => $room,
    <strong>'#user' => $username,</strong>
    '#link_external' => Link::fromTextAndUrl('Room link', $url),
    '#attached' => [
    'drupalSettings' => [
    'ek_jitsi' => [
    'autostart' => 0,
    'domain' => $domain,
    'room' => $room,
    'user' => $username,
    <strong>'email' => $mail,
    'avatar' => $picture,</strong>
    'jwt' => $config->get('ek_jitsi_jwt') ? $config->get('ek_jitsi_jwt') : '',
    'menu_bar' => true,
    ],
    ],
    'library' => ['ek_jitsi/video'],
    ],
    ];
  • πŸ‡΅πŸ‡°Pakistan ugintl

    Thank you for your reply. Good to hear that.

    So to restrict the button for new video to logged-in user, do I have to customize the code or I can do it from the UI?

    Note: I haven't used this module yet

  • πŸ‡ΈπŸ‡¬Singapore adominique

    No, the button always start a video in a new room.
    But the room is random.
    https://www.drupal.org/docs/contributed-modules/ek-jitsi/block β†’

Production build 0.71.5 2024