Click here to Skip to main content
15,896,497 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi 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
Comments
enhzflep 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900