hi,
i try to embed avi video file into web2py (tested in chrome n
firefox), in my model :
db.define_table('video',
Field('video',
'upload',
requires = IS_NOT_EMPTY()
)
)
my controller :
def video_show():
videos = db.video(request.args(0)) or redirect(URL('video'))
return dict(videos = videos)
and my view :
{{=EMBED(_src = URL('download', args = videos.video)}}
when i try in standard html i put on the same path with upload
directory, it work:
<embed
src="video.video.b1d292ad2c8ca767.616c6c2068656e7368696e2e617669.avi" /
>
did anyone know where is my fault code?
Thanks so much