1 Replies - 298 Views - Last Post: 07 August 2012 - 05:04 PM

#1 Nuha_IT  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 13-May 11

How to display video as icons in website?

Posted 07 August 2012 - 03:58 PM

Is there a way to display the video in a website page as an arranges icons of videos or thumbnails, so whenever I click on one video it should open a new window to play that video? not play it in the same page.

as this code, but the target="_blank" not leading me to another page?

<a href="video1.aspx" target="_blank">
        <object type="video/x-ms-wmv" data="Videos/clock.avi" width="320" height="255" >
            <param name="src" value="Videos/clock.avi">
            <param name="autoStart" value="0">
            alt : <a href="Videos/clock.avi">clock.avi</a>
        </object>
    </a>


Is This A Good Question/Topic? 0
  • +

Replies To: How to display video as icons in website?

#2 Atli  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3048
  • View blog
  • Posts: 4,569
  • Joined: 08-June 10

Re: How to display video as icons in website?

Posted 07 August 2012 - 05:04 PM

Are you talking about actually opening the video in a new browser window (or tab), or do you just want it to open in a window-like box on the current page?

The latter can be accomplished using Javascript, and is commonly referred to as Lightbox. There are libraries available that make this extremely easy to implement, like prettyPhoto. (There are a lot more, this one was just high on the Google search results.)

This post has been edited by Atli: 07 August 2012 - 05:07 PM
Reason for edit:: Changed the link. The first one was kind of dissapointing...

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1