Open link in mobile Moodle app instead of browser

Open link in mobile Moodle app instead of browser

by bhushan udawant -
Number of replies: 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?

Average of ratings: -
In reply to bhushan udawant

Re: Open link in mobile Moodle app instead of browser

by Noel De Martin -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.

In reply to Noel De Martin

Re: Open link in mobile Moodle app instead of browser

by bhushan udawant -

The url is of joining a meeting of BigBlue Button.

Which is obtained from a javascript plugin.

In reply to bhushan udawant

Re: Open link in mobile Moodle app instead of browser

by Noel De Martin -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.