New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

related videos beside the player

  • Sash
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

related videos beside the player was created by Sash

Hello,

I have a problem. Could the related videos div be placed on the right side of the player, so that there are three vertical videos shown (3 rows, 1 column)?

And how could I integrate the search form on the category view?

My last problem is the custom page url. Is it only possible to give a certain video the classic demo view, or is it possible to give that design to each player?


best regards
12 years 8 months ago #5230

Please Log in or Create an account to join the conversation.

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: related videos beside the player

Could the related videos div be placed on the right side of the player, so that there are three vertical videos shown (3 rows, 1 column)?

- Yes, if you're convenient working with HTML and CSS, then you can achieve this by editing the following files,

{root}/components/com_allvideoshare/views/video/tmpl/default.php

{root}/components/com_allvideoshare/views/video/tmpl/default_relatedvideos.php

And how could I integrate the search form on the category view?

- Open {root}/components/com_allvideoshare/views/category/tmpl/default.php

- Search for
<div id="avs_gallery<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
- Add the following code to the top of above line
<div class="avs_input_search">
  <form action="<?php echo JRoute::_('index.php?option=com_allvideoshare&view=search&Itemid='.JRequest::getInt('Itemid')); ?>" name="hsearch" id="hsearch" method="post" enctype="multipart/form-data"  >
    <input type="text" name="avssearch" id="avssearch" value=""/>
    <input type="submit" name="search_btn" id="search_btn" value="Go" />
  </form>
</div>
<div style="clear:both;"></div>
- That's it. Hope this solved your issue!

Is it only possible to give a certain video the classic demo view, or is it possible to give that design to each player?

- Yes, it is possible to give that design to each player. Do you have any issues with this ?
Last edit: 12 years 8 months ago by Administrator.
12 years 8 months ago #5231

Please Log in or Create an account to join the conversation.

  • Sash
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by Sash on topic Re: related videos beside the player

Oh, I´m very convenient with HTML and CSS but there is still a problem.
In the file default.php the mdoules are loaded with this tag
<?php } 
	if($config[0]->layout != 'none') {
		echo $this->loadTemplate($config[0]->layout); 
	}
  ?>

So I think there are both moduls loaded. The comment function and the related videos. But I`d like to have only the realted videos div floated on the right site. So how could i split them?
12 years 8 months ago #5235

Please Log in or Create an account to join the conversation.

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: related videos beside the player

Kindly try using,
<?php } 
  echo $this->loadTemplate('relatedvideos'); 
?>
This also involves in some basic understanding of Joomla! and PHP. Do you like to hire our developers ? They can do this at some minimal cost in term of customization. Kindly mail to This email address is being protected from spambots. You need JavaScript enabled to view it. along with this forum link in case you're interested.
12 years 8 months ago #5236

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 0

Replied by Ivaylo Chebaev on topic Re: related videos beside the player

Hello!

Help me please. How to make related videos on the right side of the player (3 rows, 1 column). I understand to edit
root}/components/com_allvideoshare/views/video/tmpl/default.php
{root}/components/com_allvideoshare/views/video/tmpl/default_relatedvideos.php
It is possible to give me a code?

Thank You!
11 years 9 months ago #6456

Please Log in or Create an account to join the conversation.

Time to create page: 0.117 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies