Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

HD made simple?

7 replies [Last post]

www.Media4Leads.com use the JW player.

I would like to implement HD.
I am not a programmer, and to do the player was pretty simple code.
Could anyone offer a quik suggestion.
Use MP4 video, right?
Have to use newest JW player?

Thanks

It's not possible to use a playlist with the HD plugin.

OK. No Playlist.
Then that would mean that the code would be either to the web video file or the HD video file.

Any suggestions on what code I would change?
Thanx

The player that you are using (a v3.6 flvplayer) is quite old and obsolete; it doesn't support skins or plugins.

I'd suggest that you upgrade to a JW FLV Player (has to be licensed, since you're a commercial site) and then use this code.

Place the blocks of code in the head and body elelents of your HTML document as indicated by the head and body tags in the code.

  <head>

    <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

    <script type="text/javascript">
      var flashvars =
      {
        'file':                     '/Video/video.flv', // this is the SD file
        'stretching':               'none',
        'skin':                     'seawave',

        'plugins':                  'hd',
        'hd.file':                  '/Video/video.mp4', // this is the HD file

        'frontcolor':               'CCCCCC',
        'backcolor':                '333333',
        'lightcolor':               'FFFFFF',
        'id':                       'playerID',
        'autostart':                'false'
      };

      var params =
      {
        'allowfullscreen':          'true',
        'allowscriptaccess':        'always',
        'bgcolor':                  '#FFFFFF'
      };

      var attributes =
      {
        'id':                       'playerID',
        'name':                     'playerID'
      };

      swfobject.embedSWF('player-licensed.swf', 'player', '440', '266', '9.0.124', false, flashvars, params, attributes);
    </script>

  </head>

  <body>

    <div id="playercontainer" class="playercontainer"><a id="player" class="player" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a></div>

  </body>

Place the division element with an id of "playercontainer" in the body element of your HTML document where you want the player to appear (where your player code is now).

Thanx. Will try.

Hi, Dont know whether i am in the correct place or not but Imma new to this,
Imma having some problems adding HD plugins into Pro-Player from wordpress plugins .

Any1 can help me?
please?

@kay -

What sort of difficulty are you having? Can you provide a link?

"It's not possible to use a playlist with the HD plugin."

There is a correction to this, there is a way around, please see post: http://www.longtailvideo.com/support/forum/Plugins/19397/HD-plugin-hd-replace-woes