Foliovision › Forums › FV Player › How to … › playback speed
-
-
Hello Varut,
this can be achieved by using the following JavaScript script:
flowplayer(function (api, root) {
api.bind("ready", function (e,api) {
api.speed('1.5');
});
});You can experiment with keyboards shortcuts shift + left/right arrow to see if it works well with your video.
We could add the speed=”1.5″ option to the shortcode as well to make this much easier. We would be happy to prioritize this feature if you buy our license or if you already have it. We are currently finishing our YouTube integration and it takes a fair amount of time.
Thanks,
MartinHi there. This seemed a good place to ask a question regarding custom speed options. I would like to implement video speed intervals of .5, .6, .7, .8, .9, and 1.0.
I have the FV Player Pro WordPress plugin successfully installed and working…just need to customize the playback options presented.
How would I go about doing this in a way which wouldn’t be overridden in future FV Player plugin updates? Thanks in advance!
Casey
Hello Bethany,
we do have speed control and after some testing I can say that it can indeed by increased by 0.1. So we could add that into our plugin.
However we would have to make sure we test all devices, as I’m not sure if mobile devices support all of that. I’ll check if we want to do this with our team.
Thanks,
MartinThat’s great, Martin. Again, I’m most interested in the .5 to 1.0 range, with the ability for users to cycle through by 10% intervals. It would be nice to retain the 1.5X fast forward option.
I look forward to hearing back on whether the team will include this as an enhancement in the next release.
Will you post a response here once a decision is made?
Casey
Hello Casey,
we will add a “step” setting for the speed buttons. The setting will be global with options of 0.1, 0.25 (the new default), 0.5.
The speeds used could be:
0.1 step: 0.1x – 2x in 0.1 incremenes
0.25 step: 0.25x – 2x in 0.25 increments
0.5 step (non-linear): 0.25x, 0.5x, 1x, 1.5x, 2xI see that you would like the 1x – 2x range for the 0.1 step option more steep, but I also see some people might just prefer the 0.1 increments through entire range.
Thanks,
MartinHello Casey,
you can test this new feature in our dev version which you can get here: https://github.com/foliovision/fv-wordpress-flowplayer/archive/dev.zip Just reinstall the plugin from that ZIP file and check Settings -> FV Player -> Sidewide Flowplayer Defaults -> Speed Step.
Thanks,
MartinMartin, I deleted the pro version of the plugin and tried to install the dev version. Unfortunately, the dev version does not show up in my wordpress plugins page, and I don’t see a place on the foliovision site where I can re-download the pro version of the plugin.
I must have mis-understood your instructions. Please advise. Is this a support ticket? Basically, where should I go to re-download the pro version of the plugin, and are there any steps I’m missing in installing the dev version?
Hello Casey,
the plugin which I set over is FV Player – not FV Player Pro.
You can get FV Player Pro back to your website by opening Settings -> FV Player and then checking the header – you should see your license key there and a button to re-install FV Player Pro. You can also get it on https://foliovision.com/my-licenses
Thanks,
MartinThanks, Martin. I’ve gotten the pro pack reinstalled and everything is working as before.
However, I received the below error when attempting to activate the dev plugin…
“fv-wordpress-flowplayer-dev/models/checker.php on line 19”
Let me know if I can do anything on my end to enable the dev version. Alternatively, I can just wait for the updated release, if that’s easier. Thanks again for the assistance, sir.
Thanks!
Hello Casey,
could you please make sure your remove FV Player plugin before installing it from https://github.com/foliovision/fv-wordpress-flowplayer/archive/dev.zip? That should fix your issue.
Thanks,
MartinThanks, Martin. That did the trick. You guys are doing excellent work.
Should I reinstall the FV Player plugin and keep it in disabled mode so I know when the regular version is updated with the granular speed adjustments? I’m thinking that way I stay on the supported version and receive future updates…does that make sense to you? Or should I not install the FV Player and just check back occasionally to see when to switch back to the supported version?
Hi Guys,
I’m jumping in on this thread, first to say thanks. I’ve just noticed the new speed controls and have implemented them on my harmonica tuition website. Great Stuff!
One issue I have noticed is I loose audio, when the speed is reduced below .5 (-50%).
This happens across firefox and google chrome. Safari handles this slightly differently, by still playing back the audio, yet not creating any reduction in speed under the 50% barrier.
This issue is happening whether or not i have the default set to .25 or .1 increments.
Can you help? This feature would really be great fro my students!
https://mitchgrainger.com/example-lesson-step-13/
Kindest Regards,
MgHello Mitchell,
unfortunately we can’t fully control this behavior, as it’s the web browser playing the video and as you can see the implementation of speed controls in it differs from one browser to another.
There is a Web Audio API though: http://www.html5rocks.com/en/tutorials/webaudio/intro/ So perhaps it has its equivalent for video as well, but I was not able to find it.
Please let us know if there is anything else.
Thanks,
MartinHi Martin,
I appreciate the quick reply, thanks very much. I’ll look into the audio API, but my development skills are limited. Meantime, If you know of an audio plugin that does this (slow/fast loop) from it’s own engine, ie non browser dependent, then please let me know. That is actually what I am looking for, a way to host jam tracks for students, with this functionality.
Thanks again for your help and great product.
Kindest regards,
MgHello,
Is it still possible to use the code to add speed options to the menu?
flowplayer(function (api, root) {api.bind("ready", function (e,api) {
api.speed('1.5');
});
});
I’m using Google Tag Manager to install the code, it fires on window load and where FV player is setting the fv_flowplayer_conf script.
First question, what’s the best way to add plugins to Foliovision’s version of Flowplayer?
Next, I only seem to get the configuration to apply when setting the configuration on every player using the global conf option.
flowplayer(".flowplayer").conf.speeds = [ .5, .75, 1 , 1.25, 1.5, 2, 2.5, 3 ];
However, I have to select and loop through elements to set all the players loaded on a page to the same conf.
document.querySelectorAll(".flowplayer").forEach( function(el) {
flowplayer(el).conf.speeds = [ .5, .75, 1 , 1.25, 1.5, 2, 2.5, 3 ];
});
Tried using the set method combined with the code you provided above (first code block) as well but didn’t work.
Set method doc: https://flowplayer.com/help/developers/flowplayer-7/api#flowplayer-setHow can I make this adjustment using the latest fv player?
Hello Leho,
new version of FV Player will have a “fv_flowplayer_conf” filter on fv_flowplayer_conf so you can filter the “speeds” array there. So you can create a mini plugin to do that.
The latest dev version can be obtained here: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip
Thanks,
MartinHi Martin,
The playback default minimum of 0.25X speed is much too slow. is there a way to set a minimum (and a maximum) speed ?
This snippet is from https://flowplayer.com/help/plugins/speed.
…..
{ speed:
{ options: [0.5, 1, 1.5]
, labels: [“Slow”,”Normal”, “Fast”]
}
}
……How can this or similar be implemented as a global setting, ? is the wrapper for this, flowplayer.conf = { }; using html/css/js/html/… ?
Thanks,
GregHello Greg,
fix for this issue will be part of the next FV Player release.
If you need it faster you can reinstall FV Player from this link: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.
Thanks,
MartinWould you please make it so that i can set the default speed of all of the videos on my site via the general settings so that they go at any speed I select like 1.5 rather than having to have the user set it. Is this already possible? Or can you please add it to your roadmap and ensure it is backwards comparable so that the videos I have already posted on my site can take advantage of this feature? Thanks!
To be clear… I don’t want to set the speed steps – I see that is possible. I want to set the global default setting for the speed of all of my videos to a different speed than normal “1” like “1.5” for all videos. I don’t want the user to have to do it and I don’t want to have to set it each time for each video I load. Thanks!
Hello Gabe,
please tell us more about why you need such feature. If we like it, we might just add it. Otherwise we might be able to do it a custom programming job or add some documentation to let some other programming team take care of this for you.
Just adding a bare bones feature like this is fairly easy, but it should also work with FV Player Editor and all.
Thanks,
Martin