Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Remove Title Above Video Player


Best Answer brandon, 08 July 2014 - 01:23 PM

Hello semfio,

 

Within the src/main/resources/default-themes/default/ folder, you will see another folder, titled 'players'

 

In there, you will find the php pages for all of the different players that are used. To remove the title, simply remove these lines and all should be perfect for you:

<div id="tubepress_embedded_title_<?php echo ${tubepress_api_const_template_Variable::GALLERY_ID}; ?>" class="tubepress_embedded_title">
      <?php echo ${tubepress_api_const_template_Variable::VIDEO}->getTitle(); ?>
    
    </div>

Let us know.

 

Thanks!

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 semfio

semfio

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 02 July 2014 - 05:22 PM

Hi there!

I can't find the customization recipe to remove the title above the video player, that used to be accessible from this link: http://tubepress.com...stomize:Recipes

Could somebody help me, please?

Thanks a lot! :)



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 03 July 2014 - 07:44 PM

Hello semfio,

 

Unfortunately, I am also unable to find the page you are referencing and am unaware of what the contents were.

 

However, if you wish to remove the title above the video player, you just need to modify (after backing up, of course) the default.tpl.php file and remove the line that places of the Title above the video player.

 

If you need more direction, please let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 semfio

semfio

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 July 2014 - 12:38 PM

Hi brandon, thanks for your reply!

At the page I mentioned there were exact instructions and the piece of code you needed to change to remove the title above the video player.

Under src/main/resources/default-themes/default/ I could only find the files gallery.tpl.php and single_video.tpl.php, is it correct?

Could you tell me exactly which line I should remove in order to remove the title, please? There are many mentions to "title" in the code.

Thanks a lot!



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 08 July 2014 - 01:23 PM   Best Answer

Hello semfio,

 

Within the src/main/resources/default-themes/default/ folder, you will see another folder, titled 'players'

 

In there, you will find the php pages for all of the different players that are used. To remove the title, simply remove these lines and all should be perfect for you:

<div id="tubepress_embedded_title_<?php echo ${tubepress_api_const_template_Variable::GALLERY_ID}; ?>" class="tubepress_embedded_title">
      <?php echo ${tubepress_api_const_template_Variable::VIDEO}->getTitle(); ?>
    
    </div>

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 semfio

semfio

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 08 July 2014 - 01:38 PM

Hey brandon!

It worked perfectly, thank you very much! :)