Adding automatic streaming video to webpage

Discussion in 'Graphics & Multimedia' started by Belzo, May 10, 2010.

  1. #1
    Hello,

    I'm going to purchase a video from istockphoto ( http://www.istockphoto.com/stock-video-5661255-blue-light-loopable-server.php )

    the formats available are .mov .mp4 or .mwv

    When a visitor goes to the website, I want the video to automatically start playing and loop. I don't want any controls to play or pause, etc.

    What format would be best to do this and how would I go about doing this?

    the website is css based

    Thanks in advance!
     
    Belzo, May 10, 2010 IP
  2. SMLMATS

    SMLMATS Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try google for JW Player.
    There is a lot of info there, you can get what you want.
     
    SMLMATS, May 10, 2010 IP
  3. Belzo

    Belzo Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    maybe i need to convert the .mov into a .swf?
     
    Belzo, May 10, 2010 IP
  4. SMLMATS

    SMLMATS Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No,the JW player work with the formats you have for the video.
     
    SMLMATS, May 10, 2010 IP
  5. SMLMATS

    SMLMATS Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    try this code
    <script type='text/javascript' src='swfobject.js'></script>

    <div id='mediaspace'>This text will be replaced</div>

    <script type='text/javascript'>
    var so = new SWFObject('player.swf','mpl','470','320','9');
    so.addParam('allowfullscreen','true');
    so.addParam('allowscriptaccess','always');
    so.addParam('wmode','opaque');
    so.addVariable('file','http://yourfilelink.com/filename.ext');
    so.addVariable('title','Title for the video');
    so.addVariable('controlbar','none');
    so.addVariable('autostart','true');
    so.addVariable('repeat','always');
    so.write('mediaspace');
    </script>
     
    SMLMATS, May 10, 2010 IP
  6. SMLMATS

    SMLMATS Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    or use this one for WMV format
    <script type='text/javascript' src='silverlight.js'></script>
    <script type='text/javascript' src='wmvplayer.js'></script>

    <div id='container'></div>

    <script type='text/javascript'>
    var cnt = document.getElementById('container');
    var src = '/jw/embed/wmvplayer.xaml';
    var cfg = {height:'250',width:'470',duration:'Time for Video',file:'filename,ext',shownavigation:'false',autostart:'true',repeat:'true',usefullscreen:'false'};
    var ply = new jeroenwijering.Player(cnt,src,cfg);
    </script>
     
    SMLMATS, May 10, 2010 IP
  7. biasasaja

    biasasaja Member

    Messages:
    84
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    this is true
     
    biasasaja, May 10, 2010 IP
  8. Shirley1874

    Shirley1874 Peon

    Messages:
    558
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Shirley1874, May 27, 2010 IP