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

Forums

/

Changing the look

7 replies [Last post]
Reply

Im not really sure if ive setup the jwplayer correctly. But I will explain what ive done and what i want to do!

Ive created a script to show the player!

<script type="text/javascript">
    jwplayer("container").setup({
    flashplayer: "http://localhost/prestashop/modules/addstuff/player.swf",
     file: "http://localhost/prestashop/video/GtHarwood/GREAT HARWOOD part one-1.mp4",
     'playlistfile': 'http://localhost/prestashop/modules/addstuff/bunnies.xml',
           'playlist': 'right',
           'backcolor': '333333',
           'frontcolor': 'EEEEEE',
           'lightcolor': '666666',                
           'controlbar': 'bottom',
          
          
      height: 230, width: 555
       }); </script>

And then created a XML file!

<tracklist>         
          
          <track>
         <title>Great Harwood </title>
         <creator>D.Galloway</creator>
         <info>http://www.kaihoo.co.uk/</info>
         <annotation>Part 1</annotation>
         <location>http://localhost/prestashop/video/GtHarwood/A Message from Archangel Gabriel-1.m4v</location>
         <image></image>
                
      </track>
          <track>
         <title>Great Harwood</title>
         <creator>D.Galloway</creator>
         <info>http://www.kaihoo.co.uk/</info>
         <annotation>Part 2</annotation>
         <location>http://localhost/prestashop/video/GtHarwood/GREAT_HARWOOD_part_two.mp4</location>
         <image>http://localhost/prestashop/video/GtHarwood/mercer_hall2.jpg</image>     
      </track>
              <track>
         <title>Great Harwood</title>
         <creator>D.Galloway</creator>
         <info>http://www.kaihoo.co.uk/</info>
         <annotation>Part 3</annotation>
         <location>http://localhost/prestashop/video/GtHarwood/GREAT_HARWOOD_part_three.mp4</location>
         <image>http://localhost/prestashop/video/GtHarwood/DSCN0450.JPG</image>     
      </track>                
   </tracklist>

what Im trying to do is control all the colours fonts sizes of the playlist. Im I doing this the right way?
Do I need to change things around or do a css file or a XSLT instead.

I tried to do a css file to the xml file with no luck!

Hope somone can help me out or put me on the right track to do this.

Thanks

Reply
Reply

Thanks Ethan for that.

only problem is I look at that before I posted on here as I dont fully understand it.

Thanks again

Reply

Everytime i put any code in the xml file nothing shows on the jwplayer.

Reply

Ok ive got the player to show up now with the glow skin!!

How do I get my playlist that i have in my other xml file to show up? so I can control the colors and fonts?

      <script type="text/javascript">
  jwplayer('container').setup({
    'flashplayer': 'http://localhost/prestashop/modules/addstuff/player.swf',
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'file': 'http://localhost/prestashop/video/GtHarwood/GREAT HARWOOD part one-1.mp4',
    'image': '/thumbs/bunny.jpg',
            'skin': 'http://localhost/prestashop/modules/addstuff/glow.zip',
                   

  });
</script>

Reply

Its ok Ethan ive fig it all thank you!!! :-)

Reply

just enter the glow.xml file and make the changes you wish to have

Reply

Np!! :)

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options