Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/07/2011, 14:36
Avatar de viniarm
viniarm
 
Fecha de Ingreso: diciembre-2010
Ubicación: Villarreal, Castellon
Mensajes: 30
Antigüedad: 13 años, 4 meses
Puntos: 0
Como añado este Plugin en JW Player?

Hola a todos. Necesito integrar un video en mi pagina. Para ello he escogido el reproductor JW Player. Tambien se le pueden añadir plugins, y me interesaria mucho introducir este:

http://www.longtailvideo.com/addons/plugins/110/Sharing?q=

Pero no hay manera de instalarlo, en el link que he puesto pone las instrucciones pero no se porque no se me añade el plugin.

El codigo de mi pagina con el video integrado:
Código HTML:
Ver original
  1.     <script type='text/javascript' src='swfobject.js'></script>
  2.     <script type='text/javascript' src='jwplayer.js'></script>
  3.  
  4. <div align="center"><center>
  5.     <script type="text/javascript">
  6.         var so = new SWFObject('player.swf','mpl','600','480','8');
  7.         so.addParam('allowscriptaccess','always');
  8.         so.addParam('allowfullscreen','true');
  9.         so.addVariable('height','480');
  10.         so.addVariable('width','600');
  11.         so.addVariable('file','video.flv');
  12.         <!--so.addVariable('screencolor','0x000000');-->
  13.         so.addVariable('link','http://www.xzapping.com');
  14.         so.addVariable('plugins', 'sharing-3');
  15.         so.addVariable('sharing.link', 'http://www.miweb.com');
  16.         so.addVariable('sharing.code', encodeURIComponent('<embed src="http://link.com" width="600" height="480" allowfullscreen="true" />'));
  17.         so.write('mediaplayer');
  18.     </script>
  19. </head>
  20.  
  21. <div class="video">
  22.  
  23.     <embed src="player.swf" width="600" height="480" allowscriptaccess="always" allowfullscreen="true"
  24. flashvars="height=480&width=600&file=video.flv&screencolor=0x000000&link=http://www.miweb.com"/>
  25.     </embed>
  26.  
  27. <script type="text/javascript">
  28.   jwplayer('mediaplayer').setup({
  29.     'flashplayer': 'player.swf',
  30.     'id': 'playerID',
  31.     'width': '600',
  32.     'height': '480',
  33.     'file': 'video.flv',
  34.     'plugins': {
  35.        'sharing-3': {
  36.            'link': 'http://www.miweb.com',
  37.            'code': '<embed src="http://link.com" width="600" height="480" allowfullscreen="true" />'
  38.        }
  39.     }
  40.   });
  41. </div>
  42. </body>
  43. </html>

No se si estoy implementando mal el codigo que me mandan a introducir (los 2 scripts, el primero que esta en el head, y el que va justo despues del embed) o nose..

alguien sabria explicarme porque no se me añade el plugin? Gracias de antemano