Streaming videos from AWS to Moodle Mobile App - amazon-web-services

I would like to know if it is possible to stream MediaTailor content on the Moodle Mobile App?
I have tested it out on our Moodle website and it works perfectly fine. However, streaming the content on the Moodle Mobile App does not work. Is there any way in which I can stream content using a MediaTailor URL?
Update:
I was able to emulate this issue in the browser and the following error was displayed on my console:
Uncaught TypeError: Cannot read property 'techOrder' of undefined
at HTMLVideoElement.<anonymous> (first.js:306)
at Function.each (jquery-3.4.1.min.js:2)
at k.fn.init.each (jquery-3.4.1.min.js:2)
at t (first.js:306)
at Object.s [as setUp] (first.js:306)
at view.php?id=41359:3335
at Object.execCb (require.min.js:5)
at b.check (require.min.js:5)
at b.enable (require.min.js:5)
at b.init (require.min.js:5)
This is a known issue that is currently not resolved.

Are you able to stream any DASH or HLS content or is it just the ads coming from MediaTailor that fail to stream? If it does work with other content, there may be an issue with that the app can't handle discontinuities between main content and ads. I would recommend looking at the device logs, if there are any, to see what the player is erroring out on. In addition, I would recommend reviewing the below article from Moodle for creating mobile-friendly courses as well as the articles for debugging your app from Android Developers:
https://docs.moodle.org/310/en/Creating_mobile-friendly_courses
https://developer.android.com/studio/debug
https://developer.android.com/studio/command-line/adb

Related

Facebook Share Dialog isn't working from mobile

I'm using the Facebook Share Dialog by using URL Redirection, followed this documentation:
https://developers.facebook.com/docs/sharing/reference/share-dialog/#:~:text=for%20Webmasters.-,Share%20by%20Using%20URL%20Redirection,-To%20share%20a
When submitting a private message via mobile, the next error arises: "Attachment Not Found: The attachment could not be found". It only happens in mobile. When I try it from desktop everything works fine.
I tried contact Facebook support but their support channel in no longer available for this feature.
Any idea?
Thanks!

Question about Google OAuth App Verification

I have an app which uses OAuth to grant scopes needed to access user data via YouTube Data API, then fetches YouTube data and puts it into a data warehouse. I have begun the Google App OAuth verification process and submitted several demo videos. I keep getting variants of this message from the verification team:
Please provided an updated demo video how your app [app-name] uses the
requested scope in regards to its definition:
https://www.googleapis.com/auth/youtube.readonly View your YouTube
account https://www.googleapis.com/auth/youtubepartner View and manage
your assets and associated content on YouTube
The submitted demos show the code which makes requests to the YouTube Data API, requests which require the above scopes, and the resulting data stored in a data warehouse. This doesn't seem to be enough. I don't know in what other way I can show how my app uses the scopes as there is no app front-end where the data flow can be seen, the only front-end component is the OAuth interface for authorizing the scope usage. What else could my demo include to show the scope usage?
[Edit] This is the request shown in the demo:
channel data request
First off you can always email them back asking for certification.
Second did you send a video showing the consent screen running? This video should show the consent screen where it displays the scopes being requested. It should also show the name of your application on the consent screen. Finally it needs to show your client id in the url bar of the web browser. (THE BROWSER MUST BE SET TO ENGLISH)

facebook channel -- bot framework issue

So I made a bot using Bot Framework v4 Nodejs SDK and while the bot was healthy and running just yesterday. Today, something peculiar happened in the bot, only through facebook channel.
So whenever someone sends a message in the bot through messenger: the from object contains {"id":"3012023272144004","name":"FACEBOOK_USER_NAME"}
this is displayed in my code:
console.log("FROM DATA : " + JSON.stringify(stepContext.context.activity.from));
today it only displays {"id":"3012023272144004","name":" "} where the facebook name of user is always empty (and I assure you that users,that I tested, has a facebook name)
also whenever I request for facebook firstname and lastname using graph API I have this response
{"error":{"message":"(#80006) There have been too many messenger api calls to this Page account. Wait a bit and try again. For more info, please refer to https:\/\/developers.facebook.com\/docs\/graph-api\/overview\/rate-limiting.","type":"OAuthException","code":80006,"fbtrace_id":"AZp9laYMB2IGha-WAPYDBXH"}}
I retried it for the whole day, and nothing happened. I checked the dashboard for rate limit but all I can see is 0% limit used (the app is exclusively connected to my page and the page is exclusively connected to my app. thanks for the clarification)
and this never happened before, I always get the firstname, lastname, id and even profile picture - sample body response from previous calls:
{"first_name":"Nightshade","last_name":"Villabrille","profile_pic":"https:\/\/platform-lookaside.fbsbx.com\/platform\/profilepic\/?psid=2951340481545239&width=1024&ext=1586604925&hash=AeTsZ60vo4npjquO","id":"2951340481545239"}
I really have no idea where to ask this issue. Is this framework issue? facebook graph issue? or bot channels issue? Thanks!
---I'll provide code or respond to anything that I need to clarify. Thanks!
PS: Even other channels responds like this on email: {"id":"apvillabrille#up.edu.ph","name":"Villabrille, Aleimar P."} and webchat: {"id":"3012023272144004","name":"Web Chat User","role":"user"}
The Azure Bot Service change log is not currently available to the public, and the problem you experienced may not have had an entry in the change log anyway. It's unclear if the problem was on your end or Facebook's end or Microsoft's end, and if it was on Microsoft's end then it was more likely to have been a random outage than an actual code update. If your production bot experiences problems like this in the future then you can submit a support request through your bot resource in the Azure portal.
You might also consider engaging with the Facebook developer community: https://developers.facebook.com/docs/messenger-platform/useful-resources

getStream laravel integration FeedConfigException

I am trying to get getStream for laravel integrated. I have followed all the steps as mentioned in the below link.
getstream Laravel Integration tutorail
Thought the tutorial is good i am having difficultly in getting the response for feed working. When i access the feed url, below error is displayed
"{"detail":"timeline feed group does not exists","status_code":400,"code":6,"exception":"FeedConfigException","duration":"0.55ms"}"
In getStream dashboard, the log says
The request was malformed or invalid.
Any idea what the issue could be?
According to the error message returned from the APIs, it looks like you are trying to read a timeline feed (timeline:3) but that group is not defined on your application.
You can fix this by creating a new feed group called "timeline" on Stream's Dashboard. When you do that, make sure that you add it to the same application that you are using on Laravel.

InfoPath cannot call web service when uploaded to Office 365 Sharepoint

Not my normal line of questions, sometimes we've got to be flexible!
I've designed an InfoPath form that I'd like to upload to a Sharepoint site.
On my form I've got a data source that is consuming the following SOAP service
https://SharepointServer/Site/_vti_bin/UserProfileService.asmx?WSDL
I call the Operations "GetUserProfileByName" and get various information about the account looking at the form. In preview this works very well. I've got the header saying "Hello Pete" and I'm able to filter lists based on the user's data. However. When it comes to uploading the form to the server, I'm greeted with the following exception:
Warning
An error occurred querying a data source.
Click OK to resume filling out the form. You may want to check your form data for errors.
HIDE ERROR DETAILS
An error occurred while trying to connect to a Web service.
An entry has been added to the Windows event log of the server.
Log ID:5566
Correlation ID:19df2c9d-a036-2000-3929-0bce8940cf2a
Any ideas what I'm doing wrong? Is there limitations due to the way that my account details are being used on SharePoint? If so what's the work around? I'm not a full admin on the server, so I've only got access to a Sandbox site.
Any help greatly appreciated,
Pete
The issue is loopback protection. In o365, it cannot be disabled. Stupid though, there are a lot of useful web services available for information. See this link: Error message when you connect an infopath form to a sharepoint online web service