Click here to Skip to main content
11,932,402 members (55,699 online)
Rate this:
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 8:06am
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.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