Forgot to specify some details about my implementation:
– WordPress 4.2.4
– Themes Canvas 5.9.8 + Scholar 1.1.4
– Plugin Sensei 1.7.2
– Plugin Flowplayer HTML5 for WordPress 1.11.0
Cheers!!
Plugin Author
Ulrich
(@grapplerulrich)
At the moment it is not fully possible. I need to make a few changes to the code so that you could add this feature with a small code snippet.
It should be possible as you can see in the example here. http://demos.flowplayer.org/api/speed.html
I will have time on the weekend to give you a full solution.
Hi Ulrich,
Thanks for your answer!!
I couldn’t wait so i developed a “provisional” solution 🙂
I added some buttons to the post
[button class="speed-0.5"]0.5x[/button]
[button class="speed-0.75"]0.75x[/button]
[button class="speed-1"]Normal[/button]
[button class="speed-1.5"]1.5x[/button]
[button class="speed-2"]2x[/button]
And then added some js behaviour for them
// Speed Controls
$("a.woo-sc-button").click(function(e) {
var speed = this.className.replace("speed-", "").replace("custom", "").replace("woo-sc-button", "");
var myVid = $(".flowplayer-video video")[0];
myVid.playbackRate = parseFloat(speed);
e.preventDefault();
})
Anyway, this is not a definitive solution for me, so i’m looking forward to use your final implementation integrated in the plugin.
Cheers and thanks for your help
– JuanMa
Plugin Author
Ulrich
(@grapplerulrich)
Hello, sorry for the delayed reply. I was waiting to release an update. Once you update to v1.11.1 you should be able to use the little plugin.
The code for the little plugin you can find in the gist. https://gist.github.com/grappler/02b9d43c0606d74869a1
The styles included are best included in the child theme.
Hi there, great plugin!
I’m wondering how to actually get these speed buttons installed though.. I don’t really know where to put the PHP file, or where to put the CSS file (or do I just modify my theme’s CSS file and add the code to it?)
Thanks for any help!
Also I’m a bit confused as to whether or not the plugin is needed if I already have Flowplayer Drive. They provide me an embed code for my video which works in WordPress, so what is the difference between using their embed code versus adding the video to the plugin library and doing it that way?
Thanks for your help