Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining tile view as default #5764

Closed
jans23 opened this issue Apr 7, 2020 · 16 comments
Closed

Defining tile view as default #5764

jans23 opened this issue Apr 7, 2020 · 16 comments
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement wontfix Issue won't be fixed

Comments

@jans23
Copy link

jans23 commented Apr 7, 2020

Is your feature request related to a problem you are facing?

I would like Jitsi Meet to start in tile view by default. Currently this is not the case and users have to click the tile view button (at the bottom right) instead.

Describe the solution you'd like

Add a configuration parameter to specify Jitsi's default view.

Describe alternatives you've considered

Inform (novel) attendees about the option to change their view manually. (Inexperienced users may not notice the option on their own.)

@kinafu
Copy link

kinafu commented Apr 25, 2020

Would be really nice to have, especially since many other similar apps start with the same layout.

So the on-boarding experience would become more convenient.

@munsifhayat
Copy link

We need to have the same functionality. @jans23 any leads on this ?

@l3d00m l3d00m added the feature-request Issue which suggest an idea, enhancement or feature to implement label May 14, 2020
@AdriaandeJongh
Copy link

I'm hearing this complaint in my Jitsi meetings a lot, too!

@StephenDonnelly
Copy link

Likewise, the ability to configure the default view is being requested by our customers too. It would be great to be able to do this.

@wietsewarendorff
Copy link

It is possible using the api:

api.executeCommand('toggleTileView');

For example when using the iframe:

const domain = 'meet.jit.si';
const options = {
    roomName: 'JitsiMeetAPIExample',
    width: 700,
    height: 700,
    parentNode: document.querySelector('#meet')
};
const api = new JitsiMeetExternalAPI(domain, options);
api.executeCommand('subject', 'My Awesome room with tile view!');
api.executeCommand('toggleTileView');
const iframe = api.getIFrame();

@saghul
Copy link
Member

saghul commented Jun 4, 2020

This is something we have discussed and will happen. If anyone wants to take a crack at it I’ll help review.

@NodeGuy
Copy link

NodeGuy commented Jun 20, 2020

@wietsewarendorff It's actually not that straightforward to do with the API because the tile view setting is persisted between reloads. I had to do this:

  api.addEventListener(`videoConferenceJoined`, () => {
    const listener = ({ enabled }) => {
      api.removeEventListener(`tileViewChanged`, listener);

      if (!enabled) {
        api.executeCommand(`toggleTileView`);
      }
    };

    api.addEventListener(`tileViewChanged`, listener);
    api.executeCommand(`toggleTileView`);
  });

@wietsewarendorff
Copy link

wietsewarendorff commented Jun 22, 2020

@wietsewarendorff It's actually not that straightforward to do with the API because the tile view setting is persisted between reloads.

You're right, I noticed after posting this. Looks like there is a PR open for the functionality you're looking for though: #6764

@pandel
Copy link

pandel commented Jun 24, 2020

@NodeGuy
Is it possible to add this API functionality to toggle the tile view to an existing installation, i.e. by modifiying some of the web components delivered to the client, too? Sadly, I am totally unfamiliar with JS so generally, I understand what you are doing here but am unsure how to integrate it...

@NodeGuy
Copy link

NodeGuy commented Jun 24, 2020

Hi @pandel, I understand your question but I don't know the answer. My code is on a client I created that uses the IFrame API.

@stale
Copy link

stale bot commented Sep 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Issue won't be fixed label Sep 27, 2020
@stale stale bot closed this as completed Oct 4, 2020
@ptandler
Copy link

Any chance to open this issue again?
I'm currently also looking for a way to have tile view as default for all meetings

@ptandler
Copy link

ptandler commented Nov 1, 2020

@NodeGuy your code above works perfectly, tanks for sharing!!

However, a somehow more straightforward way to do this would be nice. There's a PR around, which was not merged, but is closed, that would make this feature much more easy to implement: #6764

I'd like to know why it wasn't merged. Anyway ...

@pratik9722
Copy link

pratik9722 commented Dec 16, 2020

@ptandler @sretika @NodeGuy I have seen your PR & thanks for that but is it possible that we can also define pin participants by display name.
That way I can show which participan's video should are shown when title view is not enabled ( & also follow me options is not enabled by moderator )

@dbrgn
Copy link

dbrgn commented Jan 10, 2021

I'm also looking for an option to configure the tile view as default view. It would be great if this could be configured through a variable in web/interface_config.js.

@lrh378728213
Copy link

hao to set title view as default view in android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement wontfix Issue won't be fixed
Projects
None yet
Development

No branches or pull requests