Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timonegk
Copy link
Contributor

@timonegk timonegk commented Jun 5, 2020

This also cleans up some URL logic and closes #13

@timonegk timonegk marked this pull request as draft June 5, 2020 16:30
@Flova Flova added enhancement New feature or request frontend labels Jun 9, 2020
@timonegk timonegk force-pushed the feature/enter_lecture2gether_url branch from 3f97c86 to 31a3c4c Compare June 20, 2020 21:04
This also cleans up some URL logic and closes #13
@timonegk timonegk force-pushed the feature/enter_lecture2gether_url branch from 31a3c4c to b7b5d8b Compare June 21, 2020 21:01
@timonegk timonegk marked this pull request as ready for review June 21, 2020 21:03
@@ -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/')) {
Copy link
Member

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?

Copy link
Contributor

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?

Copy link
Member

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.

@lilioid
Copy link
Contributor

lilioid commented Oct 5, 2020

@timonegk Looks pretty good to me but you would need to rebase the commits from master so that we can merge this

@lilioid
Copy link
Contributor

lilioid commented Apr 27, 2021

ping @timonegk

@lilioid
Copy link
Contributor

lilioid commented May 4, 2021

@timonegk should I do it instead?

@timonegk
Copy link
Contributor Author

timonegk commented May 4, 2021

Yes, that'd be great.

@lilioid lilioid assigned lilioid and unassigned timonegk Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Join room by entering url
3 participants