This shortcode “mycred_video” is used to embed YouTube videos as well as Vimeo videos in order to allow us to award points for users who view the video.
Watch entire video and earn points, if you skip the part of video you’ll lose points.
Award 20 points as soon as a user starts watching a Vimeo video
Award 8 points when the entire Vimeo video has been played
Award 5 points for every 5 seconds watched of the Vimeo video
Award 10 points as soon as a user starts watching a YouTube video
Award 30 points when the entire YouTube video has been played
Award 25 points for every 10 seconds watched of the YouTube video