Jump to content

Mable

Members
  • Posts

    3
  • Joined

  • Last visited

Mable's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Gosh, tell me how to properly upload a video and display it. Why such simple things are difficult to do.
  2. 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?
  3. Hi all, I'm new. I've been trying to connect modules for a couple of days, but nothing works. The question is how to connect the modules? Can explain how to include them?
×
×
  • Create New...