Video Embedding feature

1 view
Skip to first unread message

Sunil

unread,
Sep 19, 2009, 12:11:46 PM9/19/09
to CNProg open discussion
Hi Everyone!

I installed cnprog today and played with it. Its an awesome product. I
want to thank everyone who is involved for pulling this off :)

I am a python developer but new to django (so doing some learning) and
would like to contribute to the product. There is one enhancement that
I need for the website I am planning. The enhancement is that user
should be able to embedd a video like he is able to embed an image
today.

Just wanted to check if anyone has tried to add this functionality or
added this functionality ? so that I dont rework on this one!

Any idea what could be challenges in adding this functionality?


-cheers

Evgeny

unread,
Sep 25, 2009, 4:17:34 PM9/25/09
to CNProg open discussion
you'll need to investigate how video can be embedded with markdown.

also, editor is javascript WMD. http://wmd-editor.com/demo
so I think you'll have to add a button "add video"
and maybe extend preview renderer for the proper functionality.

Evgeny.

sunil arora

unread,
Sep 25, 2009, 11:21:13 PM9/25/09
to cnp...@googlegroups.com
Thanks Evgeny,

For now, I added <object> <<param> and a few video related attributes in the acceptable tokens in utils/html.py  file so that if user directly puts video embedd code in WMD from a video website, it should work. It is working like a charm.

cheers


2009/9/26 Evgeny <evgeny...@gmail.com>
Reply all
Reply to author
Forward
0 new messages