Hi again @denis_miller how do you do?
I’ve just tweaked the code and released the version V1.5.3 so you can use ad-hoc the arguments from the oembed API listed here :
https://developer.vimeo.com/api/oembed/videos#embedding-a-video-with-oembed-step-1
For example, if you want to set manually the speed, you can use the quality argument :
https://vimeo.com/30198629/&quality=360p
https://vimeo.com/30198629/&quality=720p
Don’t forget to add the slash.
If you want to force every movie to have a different speed than the default, then yes I need to create a setting. Do you really need it? By default it’s set to auto – on every video service I guess – for the end user to get the best quality regards to his device and internet connection.
If I mistake and you are talking about the speed – playback rate – it’s not possible with the oembed API the default rate. If you look at the standard javascript API :
https://github.com/vimeo/player.js/
you should be able with a bit of javascript to change the default rate
https://developer.vimeo.com/player/sdk/reference#set-the-playback-rate-of-a-player
At the end of your template, try to add this snippet of code :
<script src="https://player.vimeo.com/api/player.js"></script>
<script>
jQuery( document ).ready(function() {
jQuery( 'iframe[src*="vimeo"]' ).each(function() {
var player = new Vimeo.Player( this );
player.setPlaybackRate(1.5);
});
</script>
Give it a shot when you can, it should work ??
Best regards,
Peter