• Hello! When posting multiple videos in one post, it is often found that the plugin publishes the same video twice, or three times. Tell me how I can avoid duplicate of the same video within the same post?

Viewing 1 replies (of 1 total)
  • Plugin Author Chris

    (@zenation)

    You can use (and increase) the “offset” parameter to skip videos.

    Eg
    [relatedYouTubeVideos … max=”1″]
    then later in the same post
    [relatedYouTubeVideos … max=”1″ offset=”1″]
    and even later in the same post
    [relatedYouTubeVideos … max=”1″ offset=”2″]

    If you want to display multiple videos each time you have to do some simple maths:

    Eg
    [relatedYouTubeVideos … max=”4″]
    then later in the same post
    [relatedYouTubeVideos … max=”4″ offset=”4″]
    and even later in the same post
    [relatedYouTubeVideos … max=”4″ offset=”8″]

Viewing 1 replies (of 1 total)
  • The topic ‘The video is repeated several times in one post’ is closed to new replies.