Click here to Skip to main content
11,806,818 members (57,753 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Javascript PHP jQuery
I have a problem.
I have to show videos in my website. I have small video icon(image) in the web site. When user click that icon, in overlay (like shown in photo gallery)the video should be displayed. I have tried flowplayer,fancybox, it didnt worked out. Do know why. I dont want to use the "<object>" type of code. How to do this. Please give simple code for this. I have to display either flv files or same files i have uploaded on youtube so i have np if any one help for youtube also.
Thanks in Advance
Posted 5-Sep-12 7:06am
enhzflep at 5-Sep-12 18:25pm
If you don't want to use the <object> tag then you should look into how to use the html5 <video> tag. Don't think it supports flv (why would it - it's FLash Video after all) though it does support mp4, avi and others - thought the vendors don't all support the same format - you need to supply copies of each video in a couple of formats.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 ppolymorphe 245
1 OriginalGriff 150
2 George Jonsson 145
3 CPallini 100
4 Abhinav S 80
0 OriginalGriff 3,380
1 Maciej Los 1,990
2 CPallini 1,915
3 KrunalRohit 1,907
4 ppolymorphe 1,317

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 5 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100