2
vimeoの埋め込みプレーヤーでシークを無効にする必要があります。唯一の答えは、シークされたイベントに対してsetCurrentTimeを使用することです。問題は、それが無限ループに投げ込まれるということです。たぶん、timeupdateもシーク時にトリガされるからです。vimeoプレーヤーでシークする
vimeoSeekで次にthis.player.on('timeupdate', this.vimeoPlayProgress.bind(this));
this.player.on('seeked', this.vimeoSeek.bind(this));
:
var player = this.player;
var playTime = this.vimeoPlayTime;
player.setCurrentTime(playTime).then(function (seconds) {
...
});
これに対する解決策はありますか?私は同じ問題を抱えています。 – JackTheKnife
ありません。 vimeoのカスタマーサポートに話しかけ、彼らはそれが不可能だと言った。回避策は、vimeoホストビデオへの直接リンクを使用して、独自のプレーヤーを作ることです。 – brianxautumn