-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redirect to lecture2gether room when it is entered #41
base: master
Are you sure you want to change the base?
Conversation
3f97c86
to
31a3c4c
Compare
This also cleans up some URL logic and closes #13
31a3c4c
to
b7b5d8b
Compare
@@ -93,8 +93,14 @@ export default class Toolbar extends Vue { | |||
throw new Error(`${response.status}: Resource not available`); | |||
}); | |||
} | |||
// update the url to point to the lecture2go playlist when it is a | |||
if (this.isValidVideoUrl(this.url) || this.url.includes('lecture2go') || this.url.includes('/l2go/')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the check if the URL contains e.g. lecture2go
is missing in the new version. Or is this handled in another way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I can see it; yes that check has been removed. But I don't really understand what it was supposed to do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this comment a long time ago, but I think it this check checks if the entered url is a valid one for one of our services (l2f, yt, mp4, ...) otherwise the red url bar is shown.
@timonegk Looks pretty good to me but you would need to rebase the commits from master so that we can merge this |
ping @timonegk |
@timonegk should I do it instead? |
Yes, that'd be great. |
This also cleans up some URL logic and closes #13