Title: Adding code to YouTube URL
Last modified: July 18, 2018

---

# Adding code to YouTube URL

 *  Resolved [doncarpenter](https://wordpress.org/support/users/doncarpenter/)
 * (@doncarpenter)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/adding-code-to-youtube-url/)
 * I’m using Photo Gallery by 10Web, and I need to add the ?rel=0 and the &modestbranding
   =1 codes to the YouTube URL so the YouTube logo disappears and it won’t show 
   video options when the video ends. The only way I can do it now is to embed the
   video directly into my page without using Photo Gallery.
 * How can I enter this coding into Photo Gallery?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * (@photogallerysupport)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-code-to-youtube-url/#post-10511789)
 * Hi,
 * Please contact our support team using the following email address:**[support@web-dorado.com](https://wordpress.org/support/topic/adding-code-to-youtube-url/support@web-dorado.com?output_format=md)**
   
   Also, mention the URL of this forum topic in your message. We will provide a 
   solution as soon as possible and share it here as well.
 * We will provide you with a customised version of the Photo Gallery Plugin.
 * Thanks, have a nice day!
 *  Plugin Contributor [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * (@photogallerysupport)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-code-to-youtube-url/#post-10554223)
 * In order to achieve this our developer has made the following changes:
 * in
 * **frontend/view/BWGViewSlideshow.php** file:
 * **WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url,
   $image_row->filename.** line **285**
    has been replaced with: **WDWLibraryEmbed::
   display_embed($image_row->filetype, $image_row->image_url, $image_row->filename.”?
   modestbranding=1″**
 * and in
 * **frontend/view/BWGViewGalleryBox.php** file
 * **WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url,
   $image_row->filename. ** line **1439**
 * replaced with:
 * **WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url,
   $image_row->filename.”?modestbranding=1″**

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding code to YouTube URL’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 2 replies
 * 2 participants
 * Last reply from: [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/adding-code-to-youtube-url/#post-10554223)
 * Status: resolved