I installed 2 modules but I can figure out how to make them activated.
Player Plyr Photoswipe Gallery
<!doctype html>
<html>
<head>
<title><?php echo $page->title; ?></title>
</head>
<body>
<h1><?php echo $page->title; ?></h1>
<h2>Type: <?php echo $page->planet_type; ?>,
Age: <?php echo $page->planet_age; ?> years</h2>
<p><?php echo $page->planet_summary; ?></p>
<?php
$pwpswp = $modules->get('MarkupProcesswirePhotoswipe');
echo $pwpswp->renderGallery();
$plyr = $modules->get("MarkupPlyrMediaPlayer");
echo $plyr->renderVideoPlayer($poster, $mp4, $webm, $captions);
?>
</body>
</html>
I tried to test on a test page. I added the code as it was written in the tutorial.
In the admin panel, I created the fields and connect them to the template. Then through these fields I tried to upload videos and pictures but they did not appear in my template. What am I doing wrong?