VideoPlayer.singleclick

[VideoPlayer.|<containerId>_videoPlayer.]singleclick= *none|playPause*

none|playPause

設定單鍵/點選的對應,以切換播放/暫停。 設為 none會停用單鍵/點選以播放/暫停。 如果設為 playPause,按一下視訊會在播放和暫停視訊之間切換。 在某些裝置上,您可以使用原生控制項。 在這種情況下, syncolick行為會停用。

屬性

選填。

預設

playPause

範例

singleclick=none

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now