<video id="my-video" class="video-js" preload="auto" poster="MY_VIDEO_POSTER.jpg" data-setup="{}" width="320" height="240" controls> <source src="<?php echo $row1['Url']; ?> " type="video/mp4"> </video> <strong>Description: </strong> <p><?php echo $row1['Description']; ?> </p> <br> <strong>Genres: </strong> <?php $result = $catactions->getVideoById($row1['VideoID']); while ($fetchedResult = $result->fetch(PDO::FETCH_ASSOC)) { ?> <a href="EditCategorie.php?id=<?php echo $fetchedResult['CategorieID']; ?> "><?php echo $fetchedResult['Naziv']; ?> </a> <?php } ?> <br>