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

Now it checks if video exists. #24

Merged
merged 0 commits into from
Jan 13, 2013

Conversation

ruimalheiro
Copy link
Contributor

If it doesn't exist, it instructs the user to the download page.

@@ -93,7 +94,15 @@ def topic_handler(request, topic):

@render_to("video.html")
def video_handler(request, video, prev=None, next=None):
if request.user.is_authenticated():
video_resource_url = ''.join(['http://127.0.0.1:8008/content/',video['youtube_id'],'.png'])

This comment was marked as spam.

This comment was marked as spam.

@ruimalheiro ruimalheiro merged commit c1c29f8 into learningequality:develop Jan 13, 2013
aronasorman added a commit that referenced this pull request Sep 24, 2015
MCGallaspy added a commit that referenced this pull request Oct 29, 2015
Add linebreaks and an example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants