Can I edit player.html file to fix display and navigation?

Jul 24, 2011

Hi! 

It appears that the last time my team published in presenter, some updated player template settings were not reflected in the output.  I have been able to open the player.html file to edit the template settings so that the browser is sized to 'optimal' and no longer fills the screen, like so:

// Template Vars
var g_bAOSupport = false;
var g_bFillScreen  = false;
var g_bResizeOptimal  = true;

I also want to:

1)  Display window with no browser controls; and

2)  Change user navigation to Restricted - can only view current and previous

Is it possible to make these changes in the player file without republishing?

Thanks in advance for your help!
Ann

2 Replies
Adrian Gates

yes, it would be contained in the playerproperties.xml file in the data folder of the published project.

Search for and modify the following:

1.

"

<browsersettings>

<size>0</size>

<scale>0</scale>

<LaunchNewWindow>true</LaunchNewWindow>

<AllowResize>true</AllowResize>

<NoControls>true</NoControls>

</browsersettings>

2.

"<flowcontrol>

<mode>free</mode>"

Any one know what word should stand in place of "free" to lock the nav as Ann requires?

To make your settings update in presenter so you don't need to mess with the code, I'd try this:

Sometimes Articulate has a problem updating old player information with new information.

1.       Save a new template with all the settings you want and give it a new unique template name.

2.       Set this as the course player template and close the menu.

3.       Preview the first slide of the course.

4.       If the template has not been applied, there is a “Player Template” button at the top of the preview window. Click this to open the dialog box.

5.       The pop-up that opens should tell you which template is being used. If it’s different than the one you just created, switch to that new template here. Click ok.

6.       Once you click ok, it should instantly apply the new template. If the course is now working properly, close the preview. The old information has been cleared and it will publish and preview in the new template from this point forward.

7.       If you still have a problem, repeat steps 1-4. This time select one of the default templates, such as “CorporateCommunications.” Apply this and hit ok. Close the preview window.

8.       Reopen preview and the player template from this view, now apply the new template you want to use.

Good luck!

Ann Strohm

Thanks A@work!  I really appreciate your help.  Last night I was trying to remedy the situation on a machine without Articulate, but this morning decided to tackle it by publishing again following the steps above and tips from other forum threads.  Our team even went so far as to create a brand new custom player template to essentially start over.  

The course was published with the new template, including the 'Display window with no browser controls' setting.  The resulting playerproperties.xml file in the data folder also shows:  

"<browsersettings>

<size>1</size><scale>1</scale>

<LaunchNewWindow>true</LaunchNewWindow>

<AllowResize>false</AllowResize>

<NoControls>true</NoControls>

</browsersettings>"

Now I have asked folks on the LMS side to take a look and see if they can figure it out.  Just weird.

Ann

This discussion is closed. You can start a new discussion or contact Articulate Support.