Open link in mobile Moodle app instead of browser

Open link in mobile Moodle app instead of browser

bhushan udawant -
回帖数:4

Hi,

Having a concern over opening a link in the app instead of opening in browser.

When run the app in dev mode and inspected using chrome, the onClick attribute is set 'window.open('url', _system)'

Do I need to change the code in site itself instead of changing in the mobile app?

回复bhushan udawant

Re: Open link in mobile Moodle app instead of browser

Noel De Martin -
Core developers的头像 Moodle HQ的头像 Peer reviewers的头像 Plugin developers的头像

Hi there,

Where is this link located? Not all links work the same way, so depending where it is, you may need a different approach.

回复Noel De Martin

Re: Open link in mobile Moodle app instead of browser

bhushan udawant -

The url is of joining a meeting of BigBlue Button.

Which is obtained from a javascript plugin.

回复bhushan udawant

Re: Open link in mobile Moodle app instead of browser

Noel De Martin -
Core developers的头像 Moodle HQ的头像 Peer reviewers的头像 Plugin developers的头像

Is mod_bigbluebuttonbn the plugin you're using? If that's the case, I don't think you can do it without modifying the plugin. The plugin is open source, so it should be easy to modify that part. But I'd advise against doing it, there are many good reasons to open the system browser instead of using the app for a video call.