Is it possible to start a Camtasia Smart Player replay at a specified point or time?

  • 3
  • Question
  • Updated 3 years ago
  • (Edited)
It is possible to start a YouTube video at a certain point in time in the replay with an extension to the YouTube URL. On YouTube by adding: ?t=XmYZs where X is number of minutes and YZ is number of seconds after the entry URL, YouTube will start playing at that point when started.

Is there some capability in the Camtasia Smart Player to do the same or similar thing? It could be a time index or index to a numbered callout.

This is so a document can refer to a specific part of a replay of a training session.

Thanks, Mark
Photo of Mark W4CHL

Mark W4CHL

  • 66 Posts
  • 13 Reply Likes
  • surprised I couldn't find this answer quickly!

Posted 3 years ago

  • 3
Photo of Joe Morgan

Joe Morgan

  • 6979 Posts
  • 3820 Reply Likes
If I understand your question correctly you are trying to control the behavior of the Smart Player on You Tube?
The smart player will not work on you tube.It is not supported.

Regards, Joe
Photo of Rick Stone

Rick Stone

  • 5392 Posts
  • 2542 Reply Likes
No, I think Mark was using YouTube as an example, asking if the same could be achieved with the Smart Player. Maybe on a personal web site or via ScreenCast.com?

I've never seen anything that would allow it. But who knows? Perhaps someone will pop in to advise.

Cheers... Rick :)
Photo of Mark W4CHL

Mark W4CHL

  • 66 Posts
  • 13 Reply Likes
Yes, I am asking about a similar control for the Camtasia Smart Player when used to control the replay. The YouTube syntax is just an example as @Rick Stone points out.

If there is a screencast.com feature, that would be great, or a feature when the Smart Player files are posted to a web server and the Smart Pllayer URL is used to start the player and video.

Best, Mark
Photo of John Hall

John Hall

  • 71 Posts
  • 18 Reply Likes
You can create markers on your timeline. At the end, you could have labels or something created with hotspots and choose to jump to one of the markers based on what they choose.

Photo of kayakman

kayakman, Champion

  • 6951 Posts
  • 2230 Reply Likes
time-based query URLs used to work on videos hosted on Screencast.com; I've used it before; but I haven't tested in a while; might be worth a try?

I believe SC.com uses a special version of the SmartPlayer?
Photo of Mark W4CHL

Mark W4CHL

  • 66 Posts
  • 13 Reply Likes

Thank you all!

When creating an output folder named BaseFileName in CS8.6, those of us hosting files where we move the whole folder and sub-folders created by CS8, including the Smart Player, what currently works is adding a reference to the BaseFileName_player.html and add the ?t=XmYZs

Testing this option to the script BaseFileName.html doesn't pass along the option string. Great to know this works in Screencast, TechSmith Relay, and directly hosted versions!  However, this bypasses the BaseFileName.html wrapper for the player.

? Is there an issue in bypassing this BaseFileName.html wrapper ?

is there a document for other options available for the Smart Player that we might pass as an option? This bypasses the BaseFileName.html file which leads me to believe the ...player.html options are internal to TechSmith.


(Edited)
Photo of Walter Pelowski

Walter Pelowski, Customer Solutions Engineer

  • 226 Posts
  • 19 Reply Likes
Mark,

  After speaking with our development folks further, this issue originates with the fact that with the HTML5-first player now, we have an iFrame (pointing to the _player.html) file that is referenced by the parent HTML page and the parent page (as you've found) doesn't recognize these parameters.  (At least not without a little extra code to make it do so.)  And while you could have people go right to the Player page, I believe the main thing you lose out on is that fact that the videos dimensions will be constrained, the video will be as large or as small as the browser's view area. (There may be other things that are affected as well, but I believe this is the main reason for the parent page.)

  As you've seen via your testing, the time seek works if you use just the t= querystring parameters in just the player page.  The key is getting the parent page to recognize those parameters.  Are you looking to do this with just a couple of videos?  Or every video you create?  One file that does not get published with the Smart Player files via the CS production wizard is the embedded-smart-player.min.js file.  The purpose of this file is to allow those parameters to pass through from the parent page to the embedded player page and have them be recognized.

  You could take the following file, download it, and embed it into the parent page and have the time-seek work as expected.

Example Code
<script type="text/javascript" src="scripts/embedded-smart-player.min.js"></script>
Example File
http://assets.techsmith.com/smartplayer/3.42.0/embedded-smart-player.min.js

Caveats
Now I can't guarantee that we won't make changes to the Smart Player in subsequent versions of CS that would cause this version of the embedded-smart-player.min.js file to always work with the new Smart Player files.  (In other words, a new Smart Player might require a new embedded*.js file at some point.)  So, the long and short of it is, please test this if it's important to you, use it at your own risk.

What I'll Do
I'll talk to the Camtasia team about the value of perhaps including and linking to this file in future Smart Player renderings.


  You also asked about more documentation in this regard and I'm sorry, but no, this is not well-documented so I can't really point you to something where this is all described.

  Feel free to reach out to me at w.pelowski@techsmith.com with your phone number if you have further questions regarding this and I'll call you to have a chat.

Sincerely,
Walter Mitchell Pelowski
Customer Solutions Engineer
http://www.techsmith.com
Photo of Walter Pelowski

Walter Pelowski, Customer Solutions Engineer

  • 226 Posts
  • 19 Reply Likes
I forgot to include an example.  This is a Self-Hosted Relay example, but the premise is essentially the same with Studio files.
http://engineer.techsmithrelay.com/videos/2016/Mitosis_Example_Video_-_Seek_Ahead.html?t=1m55s

The added thing I had to do with this example (as Relay doesn't do it like Camtasia does) is give the iFrame an ID and then include that ID in the end of the URL src for the iFrame.
src="Mitosis_Example_Video_-_20160302_181400_12/index.html?embedIFrameId=embeddedSmartPlayerInstance"
Photo of emiller

emiller

  • 3 Posts
  • 2 Reply Likes
Great that the "t" querystring works for the _player.html (in CS9).  I will be keen for future enhancements so it's easy to apply the same via the iframe parent.

When I read postings from 4-years-ago, there was a claim that at least in CS7 a querystring of "movie=X" would start playing at the Xth marker (with 0 being the first).

Is there a way to get this, or an equivalent querystring, working in C9, to start playing at a specific marker/file (based upon selecting "Multiple files based on markers" when producing the video)?
Photo of kayakman

kayakman, Champion

  • 6951 Posts
  • 2230 Reply Likes
I do not believe that the ?movie=x think\g works with multi files videos made with CS9; or, at least, I've never been able to get that to work; it used to work great in stuff made w/CS6 and CS7; but that was with a different player