grav-plugin-youtube
grav-plugin-youtube copied to clipboard
Loop parameter not working in HTML5 player
To make loop working in embed videos, the playlist parameter has to be set to the same youtube video.
See loop in https://developers.google.com/youtube/player_parameters
Note: This parameter has limited support in the AS3 player and in IFrame embeds, which could load either the AS3 or HTML5 player. Currently, the loop parameter only works in the AS3 player when used in conjunction with the playlist parameter. To loop a single video, set the loop parameter value to 1 and set the playlist parameter value to the same video ID already specified in the Player API URL: