Re: Display Video inside a Text field -Django Templates

2012-04-28 Thread Nikhil Verma
Hi Pratik Thanks for the reply {{ post.user.forum_profile.signature|safe }} contains complete text including the urls of youtube and other links. Only youtube links will show video(i have made them displayed in iframe) and other will open in a new tab. Currently this task have been achieved by

Re: Display Video inside a Text field -Django Templates

2012-04-28 Thread Pratik Mandrekar
Hi, You will need to identify the video url in the post, then depending on the url try do some processing, like getting the title or thumbnail and render it back to your template. If you want to play the video, you will need a video player. Eg. If it is a youtube link, then embed the youtube playe

Display Video inside a Text field -Django Templates

2012-04-27 Thread Nikhil Verma
Hi All I have a TextField to which after applying css it looks like a markup editor where i write some text, paste file links upload image etc.Now if the user paste a video link to that editor the video should display inide that editor/TextField like in other websites eg: facebook(On click Video