Support » Plugin: S3 Video Plugin » Echoing file type? play-video.php:44

  • Resolved Jon Brown


    Lin 44 In /views/video-management/play-video.php reads:

    <?php echo substr($videoFile, -3); ?>

    This seems to be echoing out the the filetype and I have no idea why… is this intentional and getting used somehow?

    I would have assumed it should be:
    <?php $videoPath = substr($videoFile, 0, -4); ?>

    to get the filename without the extension, but it doesn’t seem to be for that purpose, in fact it seems to haven o purpose (that I can tell).

    Any input appreciated….

Viewing 1 replies (of 1 total)
  • Plugin Author Anthony Mills


    I think it may have been there due to some specific requirement on behalf of the player in the newest version the file does not exist.

Viewing 1 replies (of 1 total)
  • The topic ‘Echoing file type? play-video.php:44’ is closed to new replies.