Loading ...

JW Player 5.6 and 5.7 For Andrew

Board index / General Chat

Lounge & announcements forum.

Postby morane57 on Jul 04, 2011 1 pm


Hello,
I have a jwplayer license from longtail and would install the JWplayer5.6or5.7
on phpmelody
The problem is that nobody in the forum or in modmyscript have experience with
that.
Give me please support
PS:D'ont redirect to an older Post, a "up to date" update can help!
Thank You
User avatar
morane57
Verified Customer
Verified Customer
 
Posts: 399
Joined: Feb 27, 2011 3 pm
Reputation points: 140

Postby morane57 on Jul 04, 2011 7 pm


Or chek this code please for Corrections:

Code: Select all
    {literal}
    <div id='mediaplayer'></div>
    <script type="text/javascript">
      jwplayer('mediaplayer').setup({
        'id': 'playerID',
        'width': '{/literal}{$smarty.const._PLAYER_W}{literal}',
        'height': '{/literal}{$smarty.const._PLAYER_H}{literal}',
    {/literal} {if $video.source_id == 3}
                      {literal}
                      file: '{/literal}{$video.direct}{literal}',
                type: 'youtube',
                      {/literal}
                   {else}
                      {literal}
        'file': '{/literal}{$smarty.const._URL2}{literal}/videos.php?vid={/literal}{$video.uniq_id}{literal}',
    type: 'video',
                      {/literal}
                   {/if}
                   {literal}
        'modes': [
        {type: 'flash', src: 'jwplayer5.swf'},
      {type: 'html5'},
       {type: 'download'}
        ]
      });
      {/literal}</script>
                   <script>
                   {literal}
                    skin: '{/literal}{$smarty.const._URL2}{literal}/solidgold.zip',
               enablejs: 'true',
               backcolor: '{/literal}{$smarty.const._BGCOLOR}{literal}',
               frontcolor: '{/literal}{$smarty.const._TIMECOLOR}{literal}',
               screencolor: '000000',
               repeat: 'false',
               autostart: '{/literal}{$smarty.const._AUTOPLAY}{literal}',
               'logo.hide': 'false',
               logo: '{/literal}{$smarty.const._WATERMARKURL}{literal}',
                'logo.position': 'top-right',
               linktarget: '_blank',
               link: '{/literal}{$smarty.const._WATERMARKLINK}{literal}',
               image: '{/literal}{$video.preview_image}{literal}',
               bufferlength: '5',
                 plugins: 'yousearch-1',
               controlbar: 'over'
    var params = {
                   wmode: 'window',
                   allowfullscreen: 'true',
                   allowscriptaccess: 'always',
                   allownetworking: 'all'
                };
                var attributes = {
                   name: '{/literal}{$video.uniq_id}{literal}',
                   id: '{/literal}{$video.uniq_id}{literal}'
                };
                swfobject.embedSWF('{/literal}{$smarty.const._URL2}{literal}/jwplayer.swf', 'Playerholder', '{/literal}{$smarty.const._PLAYER_W}{literal}', '{/literal}{$smarty.const._PLAYER_H}{literal}', '9.0.115', false, flashvars, params, attributes);
             </script>
          {/literal}
User avatar
morane57
Verified Customer
Verified Customer
 
Posts: 399
Joined: Feb 27, 2011 3 pm
Reputation points: 140


Who is online

Users browsing this forum: No registered users and 32 guests