Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーがコントロール バーをホバリングしているときに、ユーザーのマウス カーソルが指す位置を取得する必要があります。どうすればいいのですか ?
イベント「シーク」が仕事をします;)インスタンスプレーヤーにリスナーを追加する必要があります:
player.addListener('seek', seekListener);
次に、この関数を定義します。
var seekListener=function(Obj) { $('#mouseclick').html(myPlayer.getPosition()) }