Smartplayer Rewind, Previous-Next buttons

  • 1
  • Question
  • Updated 12 months ago
I'm looking for the way I can have the rewind and/or previous-next buttons be available on the smartplayer controls.

The rewind button is my most concern.

I am creating videos with the audio muted at playback but need the rewind button so a viewer can click on the sound button to turn on the audio but also the button to rewind the video back to the beginning.

I appears that the functions are in the .js file but don't see a way or know of a way to have them appear in the smartplayer controls.





Ideas?  Solutions?  Forgeta bout it?


Dubie:)
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes

Posted 1 year ago

  • 1
Photo of kayakman

kayakman, Champion

  • 8020 Posts
  • 2774 Reply Likes
Dubie, I'n not sure I understand what you refer to by "rewind and/or previous-next buttons"?

Previous-next what exactly?

maybe I'm a little slow here ...
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes
I'm referring to buttons that allow you to rewind the video to the beginning  or jump back or forward to  the next video in a playlist for example.

Here is a example of VLC's player controls with those buttons.



The last screenshot above in my original post I have the yellow arrow pointing to a
example of what would be a possible rewind button.

I have videos that autoplay but the audio is muted.

Browsers ( at least at this present time) allow a video to autoplay if the audio is muted.

The viewer can click on the speaker/sound icon to hear the video but the video just continues on from where it was when they turned on the sound.

To start the video over from the beginning they have to drag the scrubber back to the start of the video. A rewind button just jumps the video back to the beginning.

As I stated, I see code for those options but know of no way to have them shown or available in the smartplayer controls


Dubie:)


Photo of Rick Stone

Rick Stone

  • 6632 Posts
  • 3190 Reply Likes
Just playing a bit of the devil's advocate here.

I'm curious. You want videos to auto-play. Presumably so the viewer doesn't have to click a button, right? So your viewer now needs a button to click that will restart the video after they clicked a different button to unmute the video?

In attempting to save the viewer the step of having to click a single button to play the video, the viewer now has to click twice? Once to unmute the playing video and again to restart the video because they missed hearing the first part?

Seems to me they would be better off just being presented with the initial play button. Single click and they get to watch the video from the beginning with audio. I'm struggling to understand the advantage here. ;)

Cheers... Rick :)
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes
Here's the scenario.

Visitor lands on the webpage.

The page loads with a video playing in the sidebar. Muted and with captions.
The purpose of this is to draw attention to the video.

If the visitor is interested they can click on the sound button in the video to listen to the video but to hear the whole of the video they need to rewind (jump) back to the beginning
of the video.
A rewind button makes doing that easier for the viewer than using the scrubber.

I am not allowed to show you an example of what I am working on but here is something close to what I am doing.

https://www.fastcompany.com/90367908/kfc-unleashing-cheetos-chicken-sandwich-on-humanity-on-july-1

In their case once you start to scroll the page the video starts.
When you hover on the video a overlay appears that allow you to jump back 10 secs, pause or jump forward to another video.

I would prefer to have the rewind/next options as buttons in the player controls.
The code is there in the smartplayer files but I have never seen them in the controls of any video I have ever created.

My scenario aside, It would be nice to have those buttons for any video if you wanted to include them.
It would make navigation easier overall.

Almost any media player has them. Why? Because for some people you have to make it obvious how to do somethings.


Dubie:)

Photo of Rick Stone

Rick Stone

  • 6632 Posts
  • 3190 Reply Likes
Thanks for the update. Hopefully Ben Rhodes will have some nifty tricks up his sleeve.
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes
Having Ben pop in with some of his smartplayer expertise and maybe a solution would be awesome.
(Edited)
Photo of kayakman

kayakman, Champion

  • 8020 Posts
  • 2774 Reply Likes
thanks for the clarification Dubie
Photo of kayakman

kayakman, Champion

  • 8020 Posts
  • 2774 Reply Likes
thanks for the clarification Dubie

I'd use hotspots to do the navigation; they can be full-project-span; they can be images that look like the desired buttons

I've done this many times
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes
Thanks Kayakman,

I'm well aware of hotspot uses but in this case they are not a option I can use.

Dubie:)
Photo of Ben Rhodes

Ben Rhodes, Employee

  • 421 Posts
  • 152 Reply Likes
Hi Dubie,

There is a JavaScript config that will enable a rewind button.
TSC.playerConfiguration.allowRewind = 10; // the value is the # of seconds to rewind / click
However I just tried it out and it is totally broken.  This has been an experimental feature, but I'll try to make some time to fix it.  I'll post an update when it is fixed.

Ben
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes
Thanks for replying Ben.

I tested and see what you mean by broken. :(

If you do find a chance to check it out and can post back with a fix that would be very, very much appreciated.

Dubie:)
(Edited)
Photo of Ben Rhodes

Ben Rhodes, Employee

  • 421 Posts
  • 152 Reply Likes
Hi Dubie,

We just pushed out Smart Player v5.39.1 yesterday to our CDN.  This includes a fix for the rewind button.  Camtasia 2019 should start pulling down that version now.  Or you can do it manually (win | mac)

Ben
Photo of Dubie

Dubie

  • 1681 Posts
  • 1408 Reply Likes
Cool Ben,

Thanks for remembering about this.

I'll check it out later today and give it a testing.

Dubie:)