From 924f764e3fb503eccf96b344df39c81d4a0f6636 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 10 Dec 2018 18:13:46 +0900 Subject: [PATCH] Fixed inconsistent parameter name --- mixins/VideoControls.pixy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mixins/VideoControls.pixy b/mixins/VideoControls.pixy index f79d9f11..ed5a572b 100644 --- a/mixins/VideoControls.pixy +++ b/mixins/VideoControls.pixy @@ -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") \ No newline at end of file