• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] How to hide "Embed Code" on video page

Started by PHPClient,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PHPClientTopic starter

Hi Mario,

How do I hide "Embed Code" on the video play page (see attachment)?

I would prefer to enter coding that will hide the button instead of delete it, in case I have future use for it.

Thanks
  •  

mihai

#embedit {display:none;}/.embedit{display:none;}

Add this in vibe.css
  •  

PHPClientTopic starter

Thank you brother!  :cool:

Just to be clear on your instructions:

Go to via FTP to: /public_html/tpl/UltimaTube/css/vibe.style.css  and add the code your provided or am I just changing text with the term "none"?

THanks
  •  

mihai

Add the code. the element "embedit" does not exist in vibe.css so you must add it to change the style
  •  

PHPClientTopic starter

Perform per your instructions.  Worked nicely! - Thanks.  :)
  •  

Marius P.

You can also remove this lines from video.php


   
<ul class="share-top">
       <li class="share-sign smt">480x360</li>
        <li class="share-link span11 nomargin"><div class="share-link-input"><input type="text" id="share-embed-code-small" name="embed-this" class="span12" title="<?php echo _lang('Embed this video as 480x360');?>" value='<iframe width="480" height="360" src="<?php echo site_url().embedcode.'/'.$video->id.'/';?>" frameborder="0" allowfullscreen></iframe>' /> <></li>
    </ul>
    <ul class="share-top">
       <li class="share-sign smt">640x480</li>
        <li class="share-link span11 nomargin"><div class="share-link-input"><input type="text" id="share-embed-code-large" name="embed-this" class="span12" title="<?php echo _lang('Embed this video as 640x480');?>" value='<iframe width="640" height="480" src="<?php echo site_url().embedcode.'/'.$video->id.'/';?>" frameborder="0" allowfullscreen></iframe>' /> <></li>
    </ul>



Not just hide it with css.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

PHPClientTopic starter

  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 39894

Better Idea for PHPVibe v5 Channels page

Started by DeadFish


Replies: 2
Views: 3924

Blocks issue (Home Page) PHPVIBE 5

Started by yafe3


Replies: 8
Views: 2739

@Mario playlist block shows title of above block in admin and user page BUG#

Started by spirog


Replies: 4
Views: 2482

How-To: Set Start Page

Started by SimpleTwist


Replies: 3
Views: 1229

Linking Facebook page

Started by yafe3


Replies: 2
Views: 1992

Replies: 3
Views: 4732