Fixed inconsistent parameter name

This commit is contained in:
Eduard Urbach 2018-12-10 18:13:46 +09:00
parent 2b8288e208
commit 924f764e3f

View File

@ -1,9 +1,9 @@
component VideoControls(containerId string, duration time.Duration)
component VideoControls(containerID string, duration time.Duration)
.video-controls
button.video-control.video-control-play.action(data-action="togglePlayVideo", data-trigger="click", data-media-id=containerId, aria-label="Play")
button.video-control.video-control-play.action(data-action="togglePlayVideo", data-trigger="click", data-media-id=containerID, aria-label="Play")
RawIcon("play")
button.video-control.video-control-pause.action(data-action="togglePlayVideo", data-trigger="click", data-media-id=containerId, aria-label="Pause")
button.video-control.video-control-pause.action(data-action="togglePlayVideo", data-trigger="click", data-media-id=containerID, aria-label="Pause")
RawIcon("pause")
.video-progress-clickable
@ -15,5 +15,5 @@ component VideoControls(containerId string, duration time.Duration)
//- button.video-control.action(data-action="like", data-trigger="click")
//- RawIcon("heart-o")
button.video-control.video-control-fullscreen.action(data-action="toggleFullscreen", data-trigger="click", data-id=containerId, aria-label="Fullscreen")
button.video-control.video-control-fullscreen.action(data-action="toggleFullscreen", data-trigger="click", data-id=containerID, aria-label="Fullscreen")
RawIcon("fullscreen")