Customize Player Style Elements


After completing this topic, you will be able to customize style elements in the Player.


Steps:

  1. We have created a new publishing style category named WSG and pasted copies of the Player, System Process, and Training Guide publishing projects to it.

    Step 1

  2. Double-click the Player_WSG publishing project to open it.

    Step 2

  3. The publishing project document opens in the Package Editor.

    Step 3
  4. To replace a player image, open the img folder.

     

    Double-click the img folder.

    Step 4
  5. To change a player image, you need to replace the original graphic file in the publishing project with a graphic of the same name.

     

    If you are replacing an image in the actionbar.png file, you will need to size the image to the same size it occupies on the bar.

     

    In this example, you will change the graphic used for the Preferences button in the Player. The Preferences button is part of the actionbar image and is sized as 16 x 16 pixels.

    Step 5
  6. Open the actionbar.png file in a graphics editor.

     

    Double-click the actionbar.png file.

    Step 6
  7. We have opened the actionbar.png file in a graphic application.

    Step 7
  8. We have also opened the new preferences image, which is a transparent gif file.

    Step 8

  9. You can remove the image you are trying to replace from the actionbar before adding the new image, or you can cover the existing image with the new image.

     

    We have removed the original image from the actionbar image.

     

    Note: The new image must be placed in the same sequential position as the replaced image.

    Step 9
  10. Copy the new image.

     

    Click the Copy button.

    Step 10
  11. Paste the image to the actionbar.png file.

     

    Click the Edit menu.

    Step 11
  12. Point to the Paste command.

    Step 12
  13. Paste the image as a new selection.

     

    Click the As New Selection command.

    Step 13
  14. The new image must be placed in the same sequential position as the replaced image.

     

    We have moved the image to the original position of the Preferences button.

    Step 14
  15. We will save the changes to the actionbar.png graphic file to the custom Player_WSG publishing style, overwriting the existing file.

    Step 15

  16. Move back to the root of the publishing project.

     

    Click the Up One Level button.

    Step 16
  17. You can change the look and feel of the Player by customizing the stylesheet elements in the skin.css file.

     

    To change the elements, open the skin.css file from the Player publishing project and edit the file.

    Step 17

  18. You can open the skin.css file directly from the publishing package or copy it to you desktop. Open the file in Notepad.

     

    Right-click the skin.css file.

    Step 18
  19. Click the Open With list item.

    Step 19
  20. Click the Select the program from a list option.

    Step 20
  21. Click the OK button.

    Step 21
  22. Click the OK button to open the file in Notepad.

    Step 22

  23. Replace the color of the Player Mode buttons. Select the background color value for the .navCellOff element.

     

    Click to the left of the "3" in the background-color value for the .navCellOff element.

    Step 23

  24. Press the [Shift] key and click after the "2" in the field.

    Step 24
  25. Enter the desired information into the field. Enter "CC6699".

    Step 25
  26. We will change the color of the .navCellOn element to FF66FF for you.

    Step 26

  27. Close and save the skin.css file.

     

    Click the Close button.

    Step 27
  28. Click the Yes button to save the changes.

    Step 28
  29. Save the publishing project.

     

    Click the Save button.

    Step 29
  30. Close the publishing project.

     

    Click the Close button.

    Step 30
  31. Publish the selected section.

     

    Click the Publish button.

    Step 31

  32. We have jumped to the Advanced Publishing Options page in the Publishing Wizard and selected the WSG category.

    Step 32

  33. We will publish the Player and LMS deployment and launch the Player.

    Step 33
  34. Notice the color of the playback mode buttons. This color is set in the .navCellOff element.

    Step 34

  35. Notice the color of the play mode button when the mouse is over the button. This color is set in the .navCellOn element.

    Step 35

  36. Notice the new Preferences icon next to the ? button in the header.

    Step 36

After completing this topic, you are able to customize style elements in the Player.

Table of Contents  Start Topic