How to put thumbnail on video playing from server?

Discussion in 'HTML & Website Design' started by roccoobertinoo, Dec 8, 2014.

  1. #1
    Hey guys, this is my first post on this website. I'd hate to start off like this but this question is somewhat urgent. On my website, I have a video playing from the server, but its black and I'd like to put a thumbnail on it, how do I go about that? My host is dreamhost if that matters. Thanks!
     
    roccoobertinoo, Dec 8, 2014 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #2
    Nigel Lew, Dec 8, 2014 IP
  3. roccoobertinoo

    roccoobertinoo Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Thanks for the help, my code looks pretty different so I'm not sure where to place. Heres what my code looks like:

    <script type="text/javascript" src="https://media.dreamhost.com/mp5/jwplayer.js"></script>

    <div id="mvcontainer">Loading the player...</div>
    <script type="text/javascript">
    jwplayer("mvcontainer").setup({
    flashplayer: "https://media.dreamhost.com/mp5/player.swf",
    file: "http://www.example.com/video.mp4",
    height: 473,
    width: 840
    });
    </script>
     
    roccoobertinoo, Dec 8, 2014 IP
  4. Naina S

    Naina S Active Member

    Messages:
    203
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    93
    #4
    you could use jquery, instead of putting videos in the page, just put their main picutres, when somebody clicks it jquery code runs and calls the video which then runs. This approach is used by youtube.
     
    Naina S, Dec 9, 2014 IP