• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] How to remove title and play icon from top of player?

Started by hamnawa,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hamnawaTopic starter

As title says I am looking for instructions on how to remove title with red play icon which appears at the top of player.

See snapshot.
  •  

ollipaust

its on video.php
please watch this video if you want to customize your phpvibe without asking each time here:
http://www.youtube.com/watch?v=sHbYpl1XFiM
  •  

hamnawaTopic starter

ollipaust Your 3 minutes video can not answer all questions it actually does not have any connection with PhpVibe.
  •  

ollipaust

Quote from: hamnawa on
ollipaust Your 3 minutes video can not answer all questions it actually does not have any connection with PhpVibe.

it may has not a connection to phpVibe, but it shows you how to customize your html/css code and layout in general.
it shows you how to find the element what you need and want to edit.
it shows you the name of the class or id of an element, so you can find it easier in your files through file-search.

this is the smart way of customizing and instead wasting time with writing a forum post for each shit and wait for an answer, you could try to use your own brain once.

if you have installed this plugin, you just have to right-click the part you want and click on "inspect element with firebug" and it shows you the HTML-element in an inline-editor where you also can make live-editing.

as I said, when you know the class/id of the element, you just have to search this name in your editor and customize it how you want
  •  

hamnawaTopic starter

I agree the tool you showed here can be helpful in some cases but it does not display server side code and for beginners it is not that easy.

For example the tool only showed the class tag

<span class="tt">Title text</span>


And the server side code for this is:

<div class="video-header row-fluid list-header">
<?php if(has_list()){?>
<span class="label label-danger"><i class="icon-reorder"></i></span>
<span class="tt"><?php  echo _html(_cut(list_title(_get('list')),60));?></span>
<div class="next-an pull-right"><a href="<?php  echo $canonical;?>"><i class="icon-pause"></i></a></div>
<?php } else { ?>
<span class="label label-danger"><i class="icon-play"></i></span>
<span class="tt"> <?php  echo _html(_cut($video->title,400));?>  </span>
<?php } ?>
</div>
  •  

ollipaust

Quote from: hamnawa on
I agree the tool you showed here can be helpful in some cases but it does not display server side code and for beginners it is not that easy.

For example the tool only showed the class tag

<span class="tt">Title text</span>


And the server side code for this is:

<div class="video-header row-fluid list-header">
<?php if(has_list()){?>
<span class="label label-danger"><i class="icon-reorder"></i></span>
<span class="tt"><?php  echo _html(_cut(list_title(_get('list')),60));?></span>
<div class="next-an pull-right"><a href="<?php  echo $canonical;?>"><i class="icon-pause"></i></a></div>
<?php } else { ?>
<span class="label label-danger"><i class="icon-play"></i></span>
<span class="tt"> <?php  echo _html(_cut($video->title,400));?>  </span>
<?php } ?>
</div>


yeah but when you know the difference between PHP and HTML, you should know how to edit the HTML
and for the php-code you can comment-out them like

<div class="video-header row-fluid list-header">
<?php /* if(has_list()){ */?>
<span class="label label-danger"><i class="icon-reorder"></i></span>
....
to save them instead to delete for later purpose
  •  

PHPVibe A.

Knowing the css class it's very useful for a question like this, as all it remains is to look for the class name in the php file and it will take you to line(s) you need to remove/edit.
Olli is right and trying to help you, don't be mean, and try to understand what he's trying to explain.

hamnawaTopic starter

Alexander I am not mean I do understand he is trying to help but as I mentioned before for a beginner it is hard to do it alone.

For example I removed the code i listed here has given the results I was looking but I do not know if I have removed only that part or something else?

As it has happened to me before removing tags from video page made issue with likes and ratings as I had removed their codes also.

In order to avoid any issues and headache I don't think it is bad idea to ask here in forum.
  •  

PHPVibe A.

If you learn to follow an simple basic html open and close tag, you will not have problems.

For example:
Header in list/playlist:

<span class="tt"><?php  echo _html(_cut(list_title(_get('list')),60));?></span>


Starts with span, closes on first span close.

Video title header:

<span class="tt"> <?php  echo _html(_cut($video->title,400));?>  </span>

Starts with span, closes on first span close.



hamnawaTopic starter

Thank you very much Alexander for teaching this to me. Taking this in mind I see there are few spams inside two divs. I hope I have not removed more than needed as i couldn't understand followings function:

<div class="next-an pull-right"><a href="<?php  echo $canonical;?>"><i class="icon-pause"></i></a></div>
  •  

PHPVibe A.

That's the "stop the playlist and remain on this video" button.

Similar topics (7)