The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Custom Youtube Player using WordPress Embeds (3 posts)

  1. noidoi
    Posted 2 years ago #


    I am wondering if there is a way to add parameters to default youtube player that shows when you insert the link to youtube in a post. (http://codex.wordpress.org/Embeds)

    I specifically want to remove the related videos in the end.


  2. Chris Barrett
    Posted 2 years ago #

    Hi noidol,

    The WordPress native embeds only support limited parameters using the supported short code parameters (note - not the same thing as the YouTube command line arguments). For more information, please review: http://codex.wordpress.org/Embeds

    If you want to add the &rel=0, you wouldn't want to use the built in embeds. Instead, use the YouTube generated code as discussed in this thread: http://wordpress.org/support/topic/embed-youtube-and-not-show-related-videos-when-video-is-finished

    Alternatively, you could source a plugin or look at modifying the oEmbed scripts that WordPress uses. (http://oembed.com)

  3. noidoi
    Posted 2 years ago #

    Thanks for the answer.

    I found a plugin that does the work

Topic Closed

This topic has been closed to new replies.

About this Topic