If you're trying to install a vido/audio player, what does that have to do with TinyPortal? Unless you're doing it in a block? Can you give more details?
Judging from the error, it looks like you are putting in the actual<?php tags in your code if you are doing something in a block/article. When you create a php block or article, there is no need to put the opening <?php and closing ?> tag in the code.