Where can I get a list of the Camtasia 2018 TSC.playerConfiguration values?

  • 1
  • Question
  • Updated 3 weeks ago
  • (Edited)
Hi Guys,

I really need this information:

Where can I get a list of the Camtasia 2018 TSC.playerConfiguration values?

Thanks in advance...
Photo of ian

ian

  • 3 Posts
  • 0 Reply Likes

Posted 3 weeks ago

  • 1
Photo of Ben Rhodes

Ben Rhodes, Employee

  • 99 Posts
  • 32 Reply Likes
Hi Ian,

We do not have public facing documentation about TechSmith Smart Player JavaScript settings. If you have specific questions or ideas on what you'd like to do let me know.  I can help with that.

Thanks,
Ben
Photo of ian

ian

  • 3 Posts
  • 0 Reply Likes
Hi Ben,

Thank you for getting back to me!

There is an issue with your smart player. When I disable the video controls using the function " TSC.playerConfiguration.setDisableControls(true); " this function works up to a point but if the user clicks the video with the left mouse button the video pauses and can't be restarted. Unless I reload the webpage.

What I would like is a way to disable pause video but not the left click of the mouse because my video is interactive. How can I fix this?

PS

It would be good if you did have public facing documentation about TechSmith Smart Player JavaScript settings.

Best

Ian
Photo of Ben Rhodes

Ben Rhodes, Employee

  • 99 Posts
  • 32 Reply Likes
Ian,

Do you have happen to have interactive callout hotspots in your video?  I know currently the click to play / pause on the video is disabled when a hotspot is present.  Other than that clicking on the video should play the video if it is paused.  Are you seeing the issue in multiple browsers?

Thanks for the request for public facing documentation.  This might be something I can work on in the near future.

Ben
Photo of ian

ian

  • 3 Posts
  • 0 Reply Likes
Hi Ben,


Thank you for your reply! I have made a screen capture video showing you all the different issues on different web browsers with me explaining the different errors. I need a patch/workaround for this as my client is not happy and I am going to have problems with my client please help.
Here is a link to the video:

https://my.pcloud.com/publink/show?code=XZph0M7ZtwHAvr4c3wpygUaRy8NNx50A6ubk


Please advise?

Best


Ian


Photo of Dubie

Dubie

  • 962 Posts
  • 742 Reply Likes
The problem is in the code you are using to hide the controls.

"TSC.playerConfiguration.setDisableControls(true); "

That screws things up.
Remove that bit of code from your file.

Try this instead.

In the Scripts folder...Find the techsmith-smart-player.min.js file.

Make a backup of this file FIRST Just in case.

Open it in your text editor.
With your text cursor at the beginning of the file do a search/find for  " Controls"

You don't need to use  the hyphens.

It should be the third instance that you find and you want to delete some code there.

You should be at this spot in the file.

Click on the Image to enlarge them in a new browser tab


 Delete this and then save:

<div id="controls" class="ui control-backdrop">\r\n        <div class="progress-bar-control"></div>\r\n        <div class="player-controls">\r\n            <div class="bottom-controls">\r\n                <div class="play-rewind-controls"></div>\r\n                <div class="prev-next-controls"></div>\r\n                <div class="volume-wrapper"></div>\r\n                <div class="play-time" aria-hidden="true">0:00 / 0:00</div>\r\n            </div>\r\n            <div class="bottom-controls">\r\n                <div class="caption-wrapper"></div>\r\n                <div class="toc-button-wrapper"></div>\r\n                <div class="player-settings-wrapper"></div>\r\n                <div class="pip-wrapper"></div>\r\n                <div class="fullscreen-wrapper"></div>\r\n


The player controls should be gone.


  If you want to also disable the video from having a pause/start when clicking on it and only have the hotspots clickable also delete this bit of code just above the code in my first image above.

<div class="click-controls">\r\n

Again Save.


I did this in Camtasia 9 and it worked fine. Locally and on my servers.

In Camtasia 2018 I have only checked it locally. ( drag and dropped the html file on to various browsers) I have not yet tested it uploaded to a server to see that all works ok.


:)


(Edited)
Photo of Ben Rhodes

Ben Rhodes, Employee

  • 99 Posts
  • 32 Reply Likes
Ian,

Thank you for taking the time to create that video.  Can you tell me what your client wants for these videos?  Is the lack of a control bar is a requirement?  Also do they want the ability to play / pause at all?

We have a couple of other player configs that may help.  
  • TSC.playerConfiguration.enableSingleClickControl = false; 
    This will prevent clicking on video to play / pause
  • TSC.playerConfiguration.enableDoubleClickControl = false;
    This will prevent double clicking on video to toggle full screen mode.
I know we need improve the way hotspots work with those click on video feature right now.

Ben