-
AuthorPosts
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 16, 2016 at 7:55 am #968657Hi,
the plugin allows you to view the video where you want. but the "trailer" page does not detect these videos.
So I dropped this plugin !is it not possible to display the video insert in the article "Video" after item itself and not in the extrafield
see attachement
thank you for your answer
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 19, 2016 at 7:14 am #969038That button will link to video page, if you want to display video under article content, you can embed video after the content display, just go to video channel: youtube / vimeo / … they provides option to embed video.
September 19, 2016 at 8:49 am #969080Hello, I apologize if I explain badly because I use google translation. you misunderstood me maybe ! to integrate video after section simply insert the code of the video between this tag {youtube} {/youtube}. but is not it possible to display it by including the link in the page : add new -> vidéo
the fact to insert the tag {youtube} {/ youtube} after each item is not practical. if not what do you advise me to view the videos ?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 22, 2016 at 3:35 am #970054If I got your message correctly, you simply want the trailer / video display after content instead of showing top of article like demo site, right?
If yes, you can simply swap the snippet of code that render the video player to underneath the code of content part, don’t need other plugin.
Try to download attached file and copy it to directory: ROOT/templates/ja_moviemax/html/com_content/article/default.php (remember to backup old file first)
September 27, 2016 at 11:21 am #971439Hello Saguaros, First I apologize for the delay to reply and thank you so much for your answer. in fact I knew there was a solution to this problem. so I also try and I install a plugin "DPFields". after I insert this code in movie.php page :
<?php
$dpfields = array();
foreach ($this->item->dpfields as $f) { $dpfields[$f->alias] = $f; }
$video = $dpfields[‘video’];
$urlvideo=$video->value;
if (!empty($urlvideo)) :
echo ‘.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }<div class="embed-container"><iframe src="http://www.youtube.com/embed/‘.$urlvideo.’" frameborder="0" allowfullscreen>‘;
?>
<?php endif; ?>
and it worked well !!
but I think your solution is the best because I do not need to insert the link 2 times in the article except that I work with movie.php page. can you do it in movie.php page instead of the default.php pageand thank you very much for your support
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 27, 2016 at 2:44 pm #971463You’re welcome!!!
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by Saguaros 8 years, 1 month ago.
The topic ‘view the videos after the articles’ is closed to new replies.
Jump to forum