Open w-kok opened 3 years ago
Thanks!
Does it happen for a specific course? Or for all? The error implies that body.d equals null. Either they changed the response or the resource is an edge case.
As far as I can tell only for "new" video's, the older videos still work. Other (older) links under this urlref do work. "UrlReferrer":"https://collegerama.tudelft.nl/Mediasite/Catalog/catalogs/3me-lectures"
As I no longer have access to a TU Delft account, I can unfortunately not make it work for the new videos.
Great code! 👍 Up till today no issues. Maybe your are interested in updating it?
New videos throw this: var streams = body.d.Presentation.Streams; TypeError: Cannot read property 'Streams' of null
When you set : var lectures = [{"lectureTitle":"RO47005 Lecture 14 SM and BT Part 5","catalogID":"cf028e9a2a244e1fbdb52ace3f9cd42d21","resourceID":"14bd8f5f9de54a648fc0c38db2a176941d"}]