UbiCastTeam / moodle-mod_ubicast

UbiCast MediaServer Moodle activity plugin
GNU Lesser General Public License v3.0
1 stars 8 forks source link

Ubicast with Moodle Workplace app error : ERR_BLOCKED_BY_CLIENT #18

Open jeremycarre38 opened 1 year ago

jeremycarre38 commented 1 year ago

Hello,

When using the Moodle Workplace Android or iOS app, the activity returns the error "ERR_BLOCKED_BY_CLIENT". However, it works on the phone with a regular browser...

Do you have any idea what could be causing this? Should I open a ticket on the Moodle app tracker?

Thanks in advance

sdiemer commented 1 year ago

Hello,

This error means that the request was blocked by the user's browser.

It seems that this can be related to some ad blockers: https://stackoverflow.com/questions/23341765/getting-neterr-blocked-by-client-error-on-some-ajax-calls

What is the exact URL that is being blocked ?

Regards

jeremycarre38 commented 1 year ago

Thank you for your quick response.

I'm using the Moodle Workplace mobile app, so I don't have an ad blocker. However, I just noticed that the blocked URL in my example is as follows: lib/editor/atto/plugins/ubicast/view.php?course=309&video=v1266672eeb7er3iksyu

I may not have posted my message in the correct repository, but I'm also unable to play other activities. I don't have any issues with other iframe videos like those from YouTube.

Perhaps the problem is related to the mobile app ?

sdiemer commented 1 year ago

Hello,

For what I have tested previously, the mobile app is redirecting to a real browser to open LTI content because the mobile app doesn't support embedding of such elements. My previous tests were made about 2 years ago and the mobile app may have evolved since then. I will do some new tests to check if I get the same behaviour and I will let you know if I find something to fix this issue.

Regards

sdiemer commented 1 year ago

I have tested right now and I didn't see any problem. I tested a video integrated with an activity of mod_ubicast (which opens the link with the browser) and a video in a text area integrated with atto_ubicast (which doesn't open the browser). Both integrations did work in my test.

My environment :

I also tested with Chrome on an iPhone 12 without the Moodle application, and I didn't see any problem. I cannot install the application on this iPhone because it is handled by a remote testing service (browserstack).

Could you let me know what your environment is ?

Regards

jeremycarre38 commented 1 year ago

Hello,

First of all, thank you for the time devoted to this issue.

Our environment is as follows:

When we use the browser on our phone, it works. We only encounter the blockage with the Moodle Workplace app.

Do you have the ability to test with a Moodle Workplace environment ?

Regards

Edunao commented 1 year ago

Hello,

Do you need additional information? Do you have any leads?

Thank you in advance.

sdiemer commented 1 year ago

Hello,

I didn't had the time to do further tests and I think that I will not be able to test in the same conditions. I will let you know when I will have the time to do more on this issue.

Regards