Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript PHP jQuery
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 5-Sep-12 8:06am
KAP75295
Comments
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 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 479
2 Maciej Los 305
3 Mathew Soji 195
4 Afzaal Ahmad Zeeshan 170
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,777
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 5 Sep 2012
Copyright © CodeProject, 1999-2014
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