You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
545 B
Python
20 lines
545 B
Python
import logging
|
|
|
|
from yolanda.lib.base import *
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
class VideoController(BaseController):
|
|
|
|
def index(self):
|
|
c.video = {
|
|
'title': 'foobar',
|
|
'description': 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam sapien mauris, venenatis at, fermentum at, tempus eu, urna.' ,
|
|
'preview': h.url_for('/images/404.png')
|
|
}
|
|
return render('/xhtml/video.mako')
|
|
|
|
def file(self):
|
|
return 'serve video'
|
|
|